注意:这篇文章上次更新于752天前,文章内容可能已经过时。
This article was last updated752 days ago, the content may be outdated.
前言
一个月前马斯克开源了自家的大语言模型 grok-1 并顺带着嘲讽了一下 OpenAI,想看看 OpenAI 关于 “Open” 的部分。

这波我肯定是站马斯克了,记得第一次听说 OpenAI 名字的时候,还以为这是一个研究 AI 的开源社区,因为它遵循了 OpenCV, OpenGL 这样的命名模式。
后来 GPT-4 需要一个月 20 刀的时候,也算是认清 OpenAI 的真面目了。
自从大语言模型诞生以来,中国民众想使用 AI 服务是真的难。可谓是双向卡脖子,一方面阿美丽卡的公司不对中国开放服务。另一方面国民无法访问自由的互联网。
最近,ChatGPT-3.5 可以免注册使用了(它总算是 Open 了一小部分😂),也就是说对于我们来说又少了一道使用 ChatCPT 的门槛。
这篇博客介绍了一种访问 chat.openai.com 的方法。
Preface
A month ago, Musk open-sourced his own large language model grok-1 and took a jab at OpenAI, curious to see what part of OpenAI is actually “Open”.

I’m definitely on Musk’s side this time. When I first heard the name OpenAI, I thought it was an open-source community for AI research, since it follows the naming pattern of OpenCV, OpenGL, and so on.
Later, when GPT-4 demanded $20 a month, I finally saw OpenAI for what it is.
Since the birth of large language models, it’s been genuinely hard for Chinese people to use AI services. It’s a two-way stranglehold: on one hand, American companies don’t offer services to China; on the other, people can’t access the free internet.
Recently, ChatGPT-3.5 became usable without registration (it finally opened up a tiny bit 😂), which means one less hurdle for us to use ChatGPT.
This post describes a way to access chat.openai.com.
基于 Cloudflare 搭建 Vless 节点
既然 chat.openai.com 已经可以免注册使用了,那么原则上我们就只剩下 GFW 这一个障碍了。但并不是任何一个梯子都可以访问 chat.openai.com 的,比如我的甲骨文云的梯子就不行。
原因在于 OpenAI 屏蔽了许多知名云服务提供商的 IP,也就是专门针对我们这些使用代理的用户设置的障碍。
把代理节点搭建在 Cloudflare 家里,使用 Cloudflare 的 IP 就可以正常访问 chat.openai.com 了。
免费的东西,建议人手一个。
节点搭建
-
登录 Cloudflare
-
按下图操作依次执行




- 进入到编辑代码界面后,删除默认内容,然后复制下面的代码并粘贴到 worker.js 代码框中
2024-07-21 更新:
这种白嫖的教程总是很容易失效,往往是白嫖客和官方之间的循环对抗。
在我写这篇文章的时候,下面两个代码都是可用的,但是未来可能会失效。
点击查看代码 1:
1 | // <!--GAMFC-->version base on commit 43fad05dcdae3b723c53c226f8181fc5bd47223e, time is 2023-06-22 15:20:05 UTC<!--GAMFC-END-->. |
点击查看代码 2:
1 | // <!--GAMFC-->version base on commit 43fad05dcdae3b723c53c226f8181fc5bd47223e, time is 2023-06-22 15:20:02 UTC<!--GAMFC-END-->. |
- 点击下方生成 UUID 按钮,然后复制生成的字符串,替换代码第 7 行,让 userID = 生成的 UUID,然后点击 Deploy。


获取节点配置
完成部署后,使用你的 UUID 和 Worker 域名 替换如下字符串来获得分享链接
vless://UUID@www.visa.com.sg:8880?encryption=none&security=none&type=ws&host=Workers domain&path=%2F%3Fed%3D2048#Workers domain
例子:
> vless://60da4750-617a-42a3-97a2-8ccdc2b45589@www.visa.com.sg:8880?encryption=none&security=none&type=ws&host=freedom.wgx.workers.dev&path=%2F%3Fed%3D2048#freedom.wgx.workers.dev
2024-07-06 更新:
你可以访问你的
workers域名 +/config路径来获取配置链接。e.g.
https://freedom.wgx.workers.dev/config(这个网址应该是无效的)如果你的网络无法打开
workers域名,你可以使用 https://web.dijk.eu.org/ 这个在线代理工具来访问。

获得配置链接后,导入你的代理客户端,就可以开启科学上网之旅了。

Building a Vless node on Cloudflare
Now that chat.openai.com is usable without registration, in principle the GFW is the only obstacle left. But not just any proxy can access chat.openai.com — for example, my Oracle Cloud proxy can’t.
The reason: OpenAI blocks IPs of many well-known cloud providers — an obstacle aimed specifically at us proxy users.
By hosting the proxy node on Cloudflare’s premises and using Cloudflare’s IP, you can access chat.openai.com normally.
It’s free stuff — everyone should have one.
Setting up the node
-
Log in to Cloudflare
-
Follow the operations in the images below in order




- After entering the code editing interface, delete the default content, then copy the code below and paste it into the worker.js code box
2024-07-21 update:
Tutorials like this (freebie hunting) tend to go stale quickly — it’s usually a cycle of cat and mouse between freeloaders and the official side.
At the time of writing, both codes below work, but they may fail in the future.
Click to view Code 1:
1 | // <!--GAMFC-->version base on commit 43fad05dcdae3b723c53c226f8181fc5bd47223e, time is 2023-06-22 15:20:05 UTC<!--GAMFC-END-->. |
Click to view Code 2:
1 | // <!--GAMFC-->version base on commit 43fad05dcdae3b723c53c226f8181fc5bd47223e, time is 2023-06-22 15:20:02 UTC<!--GAMFC-END-->. |
- Click the “Generate UUID” button below, copy the generated string, replace line 7 of the code so that userID = the generated UUID, then click Deploy.


Getting the node config
After deployment, replace the placeholders in the string below with your UUID and Worker domain to get a share link
vless://UUID@www.visa.com.sg:8880?encryption=none&security=none&type=ws&host=Workers domain&path=%2F%3Fed%3D2048#Workers domain
Example:
> vless://60da4750-617a-42a3-97a2-8ccdc2b45589@www.visa.com.sg:8880?encryption=none&security=none&type=ws&host=freedom.wgx.workers.dev&path=%2F%3Fed%3D2048#freedom.wgx.workers.dev
2024-07-06 update:
You can visit your
workersdomain +/configpath to get the config link.e.g.
https://freedom.wgx.workers.dev/config(this URL should be invalid)If your network can’t open the
workersdomain, you can use the online proxy tool https://web.dijk.eu.org/ to access it.

Once you have the config link, import it into your proxy client, and your science-surfing journey begins.



