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

用Cloudflare worker优选IP反代Onedrive #923

Closed
foxdodo opened this issue Apr 8, 2022 · 3 comments
Closed

用Cloudflare worker优选IP反代Onedrive #923

foxdodo opened this issue Apr 8, 2022 · 3 comments
Labels
question Further information is requested

Comments

@foxdodo
Copy link

foxdodo commented Apr 8, 2022

Description of the feature / 需求描述

没开梯子用的heroku机器中转流量, 晚上看alist在线视频很卡, 换成CF中转也卡, 多线程下载倒影响不大. 逛了一圈试了Cloudflare worker优选IP的方法能改善在线视频流畅度. 这应该是除了搭梯子和自建反代服务器以外能流畅看视频的白嫖方法了, 大佬有办法集成到以后的版本里吗?最好是一键搭好那种😁本人纯小白不会代码

Suggested solution / 实现思路

准备工作:

  • CloudflareSpeedTest筛选出一个优选IP,例如104.24.213.225
  • 手里有一个经过Cloudflare解析的域名例如example.com

开始设置
1.按教程设置好worker, 这里假设设置好的worker名字是alistworker
2.在Cloudflare用自己的域名建一个A记录, 解析到优选IP, 关闭小云朵. 例如把二级域名boostalist.example.com解析到104.24.213.225
3.点Cloudflare主页左侧网站按钮, 找到自己的域名example.com点击进入, 在左侧点worker然后点添加路由按钮, 路由填boostalist.example.com/*,服务下拉菜单选刚建好的alistworker然后保存.
4.在alist管理面板编辑onedrive账号, 在down_proxy_url填入https://boostalist.example.com保存并刷新缓存
思路来源

Additional context / 附件

No response

@xhofe
Copy link
Member

xhofe commented Apr 8, 2022

这全是cf上的操作,和alist有任何关系?

@xhofe xhofe added the question Further information is requested label Apr 8, 2022
@github-actions
Copy link

github-actions bot commented Apr 8, 2022

Hello @foxdodo, please input issue by template and add detail. Issues labeled by question will be closed if no activities in 7 days.
你好 @foxdodo,请按照issue模板填写, 并详细说明问题/复现步骤/复现链接/实现思路或提供更多信息等, 7天内未回复issue自动关闭。

@github-actions
Copy link

Hello @, this issue was closed due to no activities in 7 days.
你好 @,此issue因超过7天未回复被关闭。

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

No branches or pull requests

2 participants