🌐Cloudflare服务
2024-4-6
| 2025-6-8
字数 1595阅读时长≈ 4 分钟
🤖
AI总结:
这篇博客介绍了Cloudflare及其提供的各种网络服务,包括CDN、网站安全、DDoS防护和SSL证书等。文章详细说明了如何利用edgetunnel项目在Cloudflare Worker上部署服务,并提供了具体的操作步骤。此外,博客还推荐了几款支持Cloudflare服务的客户端软件,如Clash VergeClash Meta,并提供了相关下载链接。文章还介绍了其他Cloudflare相关项目,如Serverless-Cloud-NotepadWARP-Clash-API,为读者提供了更多Cloudflare服务的应用场景和工具。
English Version
 
This blog post introduces Cloudflare and its various network services, including CDN, website security, DDoS protection, and SSL certificates. The article provides detailed instructions on how to deploy services on Cloudflare Workers using the edgetunnel project, along with specific operational steps. Additionally, the blog recommends several client software applications that support Cloudflare services, such as Clash Verge and Clash Meta, providing relevant download links. The article also introduces other Cloudflare-related projects like Serverless-Cloud-Notepad and WARP-Clash-API, offering readers more application scenarios and tools for Cloudflare services.

一,Cloudflare简介

Cloudflare是一个全球领先的网络性能和安全公司。它提供了一系列的服务,包括内容分发网络(CDN),网站安全,DDoS防护,以及SSL证书等等。Cloudflare的目标是帮助任何规模的网站提高速度和安全性,使互联网成为一个更好的地方。

二,部署服务

根据Cloudflare新的规定:https://www.cloudflare.com/terms/ ,使用下述服务属于违反Cloudflare的(j)规则,故需要尽快停止并删除相关服务。
CF使用服务限制条件
除非 Cloudflare 以书面形式明确允许,否则您不得且无权
(a) 向任何第三方出租、租赁、出借、输出或出售服务访问权,或代表第三方注册服务;
(b) 干扰、破坏、更改或修改服务或其任何部分,或对服务或网络(包括 Cloudflare 的对等合作伙伴网络)或与服务连接的服务造成不必要的负担,包括但不限于导致(直接或间接)您的 Cloudflare 代理域名的流量被发送到 Cloudflare 未为该域名分配的 IP 地址;
(c) 以违反或意图规避服务特定使用限制、配额或协议中规定的其他限制的方式访问或使用服务;
(d) 在未经 Cloudflare 书面同意的情况下,利用任何框架技术来封装任何 Cloudflare 商标、徽标、服务标志或其他商业外观(“Cloudflare 标识”)或材料(定义见下文),或使用任何元标签或其他 “隐藏文本 ”来利用 Cloudflare 标识或材料
(e) 在服务中引入软件或自动代理或脚本,以产生多个账户,生成自动搜索、请求或查询,或从服务中剥离或挖掘数据;
(f) 通过 HTML/CSS、脚本或任何其他手段覆盖或遮盖服务的任何页面或部分;
(g) 对服务进行反向工程;
(h) 在接受免费服务(定义见下文)的任何网站上处理或收集个人或企业信用卡信息;
(i) 未经 Cloudflare 书面同意,使用服务存储或传输 45 C.F.R. 160.103 中定义的任何 “受保护健康信息”;或
(j) 使用服务提供虚拟专用网络或其他类似代理服务。
CF Use of Services Restrictions
Unless otherwise expressly permitted in writing by Cloudflare, you will not and you have no right to:
(a) rent, lease, loan, export, or sell access to the Services to any third party, or sign up for the Services on behalf of a third party;
(b) interfere with, disrupt, alter, or modify the Services or any part thereof, or create an undue burden on the Services or the networks (including Cloudflare’s peering partners’ networks) or services connected to the Services, including, but not limited to, causing (whether directly or indirectly) traffic for your Cloudflare-proxied domain to be sent to an IP address that was not assigned by Cloudflare for the domain;
(c) access or use the Services in a manner that violates or is intended to circumvent Service-specific usage limits, quotas, or other restrictions set forth in the Agreement;
(d) utilize any framing techniques to enclose any Cloudflare trademark, logo, service mark, or other trade dress (“Cloudflare Marks”) or Materials (defined below) or use any meta tags or other “hidden text” utilizing the Cloudflare Marks or Materials without Cloudflare’s written consent
(e) introduce software or automated agents or scripts into the Services so as to produce multiple accounts, generate automated searches, requests or queries, or to strip or mine data from the Services;
(f) cover or obscure any page or part of the Services via HTML/CSS, scripting, or any other means;
(g) reverse engineer the Services;
(h) process or collect personal or business credit card information on any web property that is receiving Free Services (as defined below);
(i) use the Services to store or transmit any “protected health information” as that term is defined in 45 C.F.R. 160.103 without Cloudflare’s written consent; or
(j) use the Services to provide a virtual private network or other similar proxy services.
基于Cloudflare的服务器,通过以下项目实现。
edgetunnel
cmliuUpdated Jun 16, 2025

1,部署 Cloudflare Worker:

  • 在 Cloudflare Worker 控制台中创建一个新的 Worker。
  • 将 worker.js 的内容粘贴到 Worker 编辑器中。
  • 将第 7 行 userID 修改成你自己的 UUID ()。

2,访问订阅内容:

  • 访问 https://[YOUR-WORKERS-URL]/[UUID] 即可获取订阅内容。
  • 例如 https://vless.google.workers.dev/90cd4a77-141a-43c9-991b-08263cfe9c10 就是你的订阅地址。

3,给 workers绑定 自定义域:

  • 在 workers控制台的 触发器选项卡,下方点击 添加自定义域
  • 填入你已转入 CloudFlare 域名解析服务的次级域名,例如:vless.google.com后 点击添加自定义域,等待证书生效即可。

三,使用教程

1,Clash Verge(For Windows/Mac/Linux)

项目地址:
clash-verge-rev
clash-verge-revUpdated Jun 16, 2025
下载链接:Clash Verge From Github e.g:Clash.Verge_Version_x64-setup.exe
notion image

2,Clash Meta(For Android)

项目地址:
mihomo
MetaCubeXUpdated Jun 16, 2025
下载链接:Clash Meta From Github e.g:cmfa-version-meta-alpha-universal-release.apk

3,V2rayN(全平台)

项目地址:
v2rayN
2dustUpdated Jun 16, 2025
下载链接:V2rayN

4,订阅文件链接

自建链接(失效) or https://clash.vsar.me/9d70c928-2c7f-4c41-820a-308838735df5
推荐链接(有效) or http://allsub.king361.cf/ (推荐,速度更快)

四,Cloudflare 其他服务

1,Cloudflare项目合集

awesome-cloudflare
zhuimaUpdated Jun 16, 2025

2,Serverless-Cloud-Notepad

(由上述项目进行摘选)
运行在 Cloudflare 上的云记事本,搭建简单,当做临时文本中转挺方便,并且支持 Markdown 语法,支持加密。
serverless-cloud-notepad
s0urcelabUpdated Jun 14, 2025
基于上述项目搭建,实例说明:index — Cloud Notepad
 
  • 工具
  • VPN
  • 网络
  • ChatGPT2023年度旅游总结
    Loading...