Replies: 6 comments 2 replies
-
cloudflare的代理只放行80和443端口。 |
Beta Was this translation helpful? Give feedback.
-
我试过5244端口都能通,你们怎么弄的。。 |
Beta Was this translation helpful? Give feedback.
-
如果你的域名是CF上解析的,可以任意端口。 最后你就可以在CF worker里写 list.abc.com了。 这个方法适用于任何CF服务限定端口的绕过 |
Beta Was this translation helpful? Give feedback.
-
非常感谢。学习到了。
hahach ***@***.***> 于2024年5月6日周一 18:04写道:
… 如果你的域名是CF上解析的,可以任意端口。
做法就是cname解析一个域名a到你的alist服务的域名。例如:
你CF上管理的域名叫 abc.com, alist在 abc.com:8080(任意域名都行,alist服务的域名不需要CF管理的)。
在CF上给一个cname解析 例如 list.abc.com 指向 abc.com
然后CF上设置Origin Rules.
规则为 传入 主机名 等于 list.abc.com时,重写到8080端口。
最后你就可以在CF worker里写 list.abc.com了。
这个方法适用于任何CF服务限定端口的绕过
—
Reply to this email directly, view it on GitHub
<#3849 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEAUQDSEWAUDJKIZHLYMNB3ZA5IRBAVCNFSM6AAAAAAV2JKVEOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TGMRXGMZDC>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
请问各位大佬,使用Cloudflare Workers进行代理时Alist的端口http只能是80端口吗?
我看到帮助文档中提到的是国内,我在国外的服务器搭建并使用国外代理进行下载时还是会报错。
Alist端口为8080,workers脚本如下:
cloudflare报错为Error 1101,日志如下:
Alist使用80端口时,workers地址部分不填端口可以正常下载
Beta Was this translation helpful? Give feedback.
All reactions