lemooljiang avatar

使用Cloudflare Warp解除ChatGPT对IP的限制,亲测有效!

lemooljiang

Published: 30 Apr 2023 › Updated: 30 Apr 2023使用Cloudflare Warp解除ChatGPT对IP的限制,亲测有效!

使用Cloudflare Warp解除ChatGPT对IP的限制,亲测有效!

自从开发了AI·Joe, 平时我也是只用AI·Joe,很方便。OpenAI对IP的限制不多,基本都是可以的。但是ChatGPT自从升级到4.0后就开始大规模地限制IP了,我也是很久没有去登录过啰!

chatgpt5.jpg

基本上各大机房的IP都是受限状态!

趁着假期,试试看能不能解决ChatGPT的受限问题,毕竟在国内对各种墙是不陌生了,也有一套对付的办法。

但是,我从linode, 到腾讯, 到谷歌,各个机房都试了一遍,竟然都不行!这就有点诡异了,ChatGPT真能这么限么,连美国自己的IP也限?!

在网上查了试了一上午,有点眉目了,关键在一个Cloudflare上。ChatGPT网站放到了Cloudflare这个CDN上,由Cloudflare实行IP限制!那么,解除限制的办法也就在Cloudflare上了。

ChatGPT是利用cloudflare来进行网络防护的,而cloudflare家自己,却出了一个安全上网和反嗅探的工具:Cloudflare Warp,也就是著名的1.1.1.1。

利用这个工具,我们只要在服务器端配置好了,既可以实现穿越ChatGPT的封锁。(注意,是在服务器端安装,在你本机安装并没有用,所以如果你并不是自有服务器,那么后续的内容对你来说可能用处就不大了)

下面的步骤我走了一遍,可以走通,总算是成功了!大概有个8步:
服务端是Ubuntu 20.04, 前提是已有梯子

1. GPG Key
curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg

2. 
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list

3. apt update
4. apt install cloudflare-warp
5. Warp  Success
  warp-cli register
 
6. IPIP 
warp-cli add-excluded-route xx.xx.xx.xx   //xx.xx.0.0/16
 160.89.15.255
warp-cli add-excluded-route 160.89.0.0/16

7. warp-cli connect

8. 使
 curl chat.openai.com

好了,一番骚操作,解除成功,ChatGPT的原番来了。不过,这个还蛮复杂,不太友好。大家如果有需要,可以尝试用AI·Joe

参考:
绕过CHATGPT的封禁
chatgpt去除限制

Leave 使用Cloudflare Warp解除ChatGPT对IP的限制,亲测有效! to:

Written by

Designer , Poet , Technology enthusiasts

Read more #cn posts


Best Posts From lemooljiang

We have not curated any of lemooljiang's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From lemooljiang