Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxyIP 的机器,是如何充当中继节点的呢? #268

Open
axinhouzilaoyue opened this issue Jan 15, 2024 · 3 comments
Open

proxyIP 的机器,是如何充当中继节点的呢? #268

axinhouzilaoyue opened this issue Jan 15, 2024 · 3 comments

Comments

@axinhouzilaoyue
Copy link

本 issue单纯求教,想要理解原理

问题:
cf worker 无法访问托管在cf 的网站(如speedtest.net),因此需要将请求转发到 proxyIP,proxyIP再将请求转发到目的服务器
proxyIP 的机器并不由此脚本搭建,是如何让它充当了中继节点转发请求呢?
cf worker 和 proxyIP 之间是通过什么协议传输?

希望有人解惑,非常感谢!

下面是 gpt 的解释
image

@zizifn
Copy link
Owner

zizifn commented Jan 21, 2024

相信你知道有一种手法叫做,优选 cfip。但是呢,这些优选 ip 都是 cf 自己的。然而有些其他云厂商的 ip 可以无条件转发 cf 流量,虽然这些 ips 不是 cf 的,但是实现功能和 cf ip 一样。

@axinhouzilaoyue
Copy link
Author

相信你知道有一种手法叫做,优选 cfip。但是呢,这些优选 ip 都是 cf 自己的。然而有些其他云厂商的 ip 可以无条件转发 cf 流量,虽然这些 ips 不是 cf 的,但是实现功能和 cf ip 一样。

无条件转发到 cf 的流量,还是支持 vless 协议。这也太神奇了

@daiaji
Copy link

daiaji commented May 10, 2024

实际上是从worker发出的流量已经是普通的http(s),所以proxyIP实际上是路由的下一跳。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants