mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-21 08:52:43 +08:00
更新 README.md 和代码中的代理 IP 地址,优化用户体验
This commit is contained in:
50
README.md
50
README.md
@@ -1,12 +1,12 @@
|
||||
# edgetunnel
|
||||
# 🚀 edgetunnel
|
||||
这是一个基于 CF Worker 平台的脚本,在原版的基础上修改了显示 VLESS 配置信息转换为订阅内容。使用该脚本,你可以方便地将 VLESS 配置信息使用在线配置转换到 Clash 或 Singbox 等工具中。
|
||||
|
||||
- **edgetunnel 最新教程**:https://www.youtube.com/watch?v=tKe9xUuFODA ***必看内容!必看内容!必看内容!!!***
|
||||
- **报错 Error 1101 详解**:https://www.youtube.com/watch?v=r4uVTEJptdE
|
||||
|
||||
Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networks](https://url.cmliussss.com/alice)提供的云服务器维持[CM订阅转换服务](https://sub.fxxk.dedyn.io/)!**
|
||||
Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networks](https://url.cmliussss.com/alice)提供的云服务器维持[CM订阅转换服务](https://sub.cmliussss.net/)!**
|
||||
|
||||
# 免责声明
|
||||
## ⚠️ 免责声明
|
||||
|
||||
本免责声明适用于 GitHub 上的 “edgetunnel” 项目(以下简称“本项目”),项目链接为:https://github.com/cmliu/edgetunnel 。
|
||||
|
||||
@@ -27,12 +27,12 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
|
||||
作者保留随时更新本免责声明的权利,且不另行通知。最新版本的免责声明将发布在本项目的 GitHub 页面上。
|
||||
|
||||
## 风险提示
|
||||
## 🔥 风险提示
|
||||
- 通过提交虚假的节点配置给订阅服务,避免节点配置信息泄露。
|
||||
- 另外,您也可以选择自行部署 [WorkerVless2sub 订阅生成服务](https://github.com/cmliu/WorkerVless2sub),这样既可以利用订阅生成器的便利。
|
||||
|
||||
# 如何使用?
|
||||
## Workers 部署方法 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=191s)
|
||||
## 💡 如何使用?
|
||||
### ⚙️ Workers 部署方法 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=191s)
|
||||
|
||||
<details>
|
||||
<summary><code><strong>「 Workers 部署文字教程 」</strong></code></summary>
|
||||
@@ -61,7 +61,7 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
|
||||
</details>
|
||||
|
||||
## Pages 上传 部署方法 **最佳推荐!!!** [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=436s)
|
||||
### 🛠 Pages 上传 部署方法 **最佳推荐!!!** [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=436s)
|
||||
|
||||
<details>
|
||||
<summary><code><strong>「 Pages 上传文件部署文字教程 」</strong></code></summary>
|
||||
@@ -96,7 +96,7 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
|
||||
</details>
|
||||
|
||||
## Pages GitHub 部署方法 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=317s)
|
||||
### 🛠 Pages GitHub 部署方法 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=317s)
|
||||
|
||||
<details>
|
||||
<summary><code><strong>「 Pages GitHub 部署文字教程 」</strong></code></summary>
|
||||
@@ -130,7 +130,7 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
|
||||
</details>
|
||||
|
||||
# 变量说明
|
||||
## 🔑 变量说明
|
||||
|
||||
| 变量名 | 示例 | 必填 | 备注 | YT |
|
||||
|--------|---------|-|-----|-----|
|
||||
@@ -138,7 +138,7 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
| KEY | `token` |❌| 动态UUID秘钥,使用变量`KEY`的时候,将不再启用变量`UUID`| |
|
||||
| TIME | `7` |❌| 动态UUID有效时间(默认值:`7`天)| |
|
||||
| UPTIME | `3` |❌| 动态UUID更新时间(默认值:北京时间`3`点更新) | |
|
||||
| PROXYIP | `proxyip.fxxk.dedyn.io:443` |❌| 备选作为访问CFCDN站点的代理节点(支持自定义ProxyIP端口, 支持多ProxyIP, ProxyIP之间使用`,`或`换行`作间隔) | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=166s) |
|
||||
| PROXYIP | `proxyip.cmliussss.net:443` |❌| 备选作为访问CFCDN站点的代理节点(支持自定义ProxyIP端口, 支持多ProxyIP, ProxyIP之间使用`,`或`换行`作间隔) | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=166s) |
|
||||
| SOCKS5 | `user:password@127.0.0.1:1080` |❌| 优先作为访问CFCDN站点的SOCKS5代理(支持多socks5, socks5之间使用`,`或`换行`作间隔) | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=826s) |
|
||||
| GO2SOCKS5 | `blog.cmliussss.com`,`*.ip111.cn`,`*google.com` |❌| 设置`SOCKS5`变量之后,可设置强制使用socks5访问名单(`*`可作为通配符,`换行`作多元素间隔) ||
|
||||
| ADD | `icook.tw:2053#官方优选域名` |❌| 本地优选TLS域名/优选IP(支持多元素之间`,`或`换行`作间隔) ||
|
||||
@@ -150,8 +150,8 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
| CSVREMARK | `1` |❌| CSV备注所在列偏移量 ||
|
||||
| TGTOKEN | `6894123456:XXXXXXXXXX0qExVsBPUhHDAbXXX` |❌| 发送TG通知的机器人token |
|
||||
| TGID | `6946912345` |❌| 接收TG通知的账户数字ID |
|
||||
| SUB | `VLESS.fxxk.dedyn.io` | ❌ | 优选订阅生成器域名 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1193s) |
|
||||
| SUBAPI | `SUBAPI.fxxk.dedyn.io` |❌| clash、singbox等 订阅转换后端 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1446s) |
|
||||
| SUB | `SUB.cmliussss.net` | ❌ | 优选订阅生成器域名 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1193s) |
|
||||
| SUBAPI | `SUBAPI.cmliussss.net` |❌| clash、singbox等 订阅转换后端 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1446s) |
|
||||
| SUBCONFIG | [https://raw.github.../ACL4SSR_Online_Full_MultiMode.ini](https://raw.githubusercontent.com/cmliu/ACL4SSR/main/Clash/config/ACL4SSR_Online_Full_MultiMode.ini) |❌| clash、singbox等 订阅转换配置文件 | [Video](https://www.youtube.com/watch?v=s91zjpw3-P8&t=1605s) |
|
||||
| SUBEMOJI | `false` |❌| 订阅转换是否启用Emoji(默认`true`) | |
|
||||
| SUBNAME | `edgetunnel` |❌| 订阅名称 | |
|
||||
@@ -160,7 +160,7 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
| URL | `https://blog.cmliussss.com` |❌| 主页反代伪装(支持多url, url之间使用`,`或`换行`作间隔, 乱设容易触发反诈) | |
|
||||
| CFPORTS | `2053`,`2096`,`8443` |❌| CF账户标准端口列表 | |
|
||||
|
||||
# 注意事项
|
||||
## ❗ 注意事项
|
||||
|
||||
### 开启在线编辑优选列表 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=630s)
|
||||
- 绑定**变量名称**为`KV`的**KV命名空间**,即可在无`SUB`的前提下,在配置页实现在线编辑`ADD`与`ADDAPI`优选列表;
|
||||
@@ -184,22 +184,22 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
- 脚本将自动生成基于CF随机IP的线路,每次更新订阅时会生成不同的随机IP,确保您的订阅不会失联!
|
||||
|
||||
|
||||
# 实用技巧
|
||||
## 🔧 实用技巧
|
||||
本项目提供灵活的订阅配置方案,支持通过URL参数快速自定义订阅内容。
|
||||
- 示例订阅地址: `https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10`
|
||||
|
||||
1. 更换**订阅生成器**的订阅地址 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=1019s)
|
||||
|
||||
快速切换订阅生成器至 `VLESS.fxxk.dedyn.io`:
|
||||
快速切换订阅生成器至 `VLESS.cmliussss.net`:
|
||||
```url
|
||||
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?sub=VLESS.fxxk.dedyn.io
|
||||
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?sub=VLESS.cmliussss.net
|
||||
```
|
||||
|
||||
2. 更换**PROXYIP**的订阅地址 [视频教程](https://www.youtube.com/watch?v=tKe9xUuFODA&t=1094s)
|
||||
|
||||
快速更换PROXYIP为 `proxyip.fxxk.dedyn.io`:
|
||||
快速更换PROXYIP为 `proxyip.cmliussss.net`:
|
||||
```url
|
||||
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?proxyip=proxyip.fxxk.dedyn.io
|
||||
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?proxyip=proxyip.cmliussss.net
|
||||
```
|
||||
|
||||
3. 更换**SOCKS5**的订阅地址
|
||||
@@ -213,16 +213,16 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
|
||||
例如同时修改**订阅生成器**和**PROXYIP**:
|
||||
```url
|
||||
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?sub=VLESS.fxxk.dedyn.io&proxyip=proxyip.fxxk.dedyn.io
|
||||
https://edgetunnel.pages.dev/90cd4a77-141a-43c9-991b-08263cfe9c10?sub=VLESS.cmliussss.net&proxyip=proxyip.cmliussss.net
|
||||
```
|
||||
|
||||
4. 该项目部署的节点可通过节点PATH(路径)的方式,使用指定的`PROXYIP`或`SOCKS5`!!!**
|
||||
|
||||
- 指定 `PROXYIP` 案例
|
||||
```url
|
||||
/proxyip=proxyip.fxxk.dedyn.io
|
||||
/?proxyip=proxyip.fxxk.dedyn.io
|
||||
/proxyip.fxxk.dedyn.io (仅限于域名开头为'proxyip.'的域名)
|
||||
/proxyip=proxyip.cmliussss.net
|
||||
/?proxyip=proxyip.cmliussss.net
|
||||
/proxyip.cmliussss.net (仅限于域名开头为'proxyip.'的域名)
|
||||
```
|
||||
|
||||
- 指定 `SOCKS5` 案例
|
||||
@@ -239,10 +239,10 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
https://raw.githubusercontent.com/cmliu/WorkerVless2sub/main/addressesapi.txt?proxyip=true
|
||||
```
|
||||
|
||||
## Star 星星走起
|
||||
## ⭐ Star 星星走起
|
||||
[](https://starchart.cc/cmliu/edgetunnel)
|
||||
|
||||
## 已适配客户端
|
||||
## 💻 已适配客户端
|
||||
### Windows
|
||||
- [v2rayN](https://github.com/2dust/v2rayN)
|
||||
- clash.meta([FlClash](https://github.com/chen08209/FlClash),[mihomo-party](https://github.com/mihomo-party-org/mihomo-party),[clash-verge-rev](https://github.com/clash-verge-rev/clash-verge-rev),[Clash Nyanpasu](https://github.com/keiko233/clash-nyanpasu))
|
||||
@@ -255,5 +255,5 @@ Telegram交流群:[@CMLiussss](https://t.me/CMLiussss),**感谢[Alice Networ
|
||||
### MacOS
|
||||
- clash.meta([FlClash](https://github.com/chen08209/FlClash),[mihomo-party](https://github.com/mihomo-party-org/mihomo-party))
|
||||
|
||||
# 感谢
|
||||
# 🙏 感谢
|
||||
[zizifn](https://github.com/zizifn/edgetunnel)、[3Kmfi6HP](https://github.com/6Kmfi6HP/EDtunnel)、[Stanley-baby](https://github.com/Stanley-baby)、[ACL4SSR](https://github.com/ACL4SSR/ACL4SSR/tree/master/Clash/config)、[SHIJS1999](https://github.com/SHIJS1999/cloudflare-worker-vless-ip)、[Alice Networks LTD](https://url.cmliussss.com/alice)、
|
||||
|
||||
8
明文源码.js
8
明文源码.js
@@ -4,7 +4,7 @@ import { connect } from 'cloudflare:sockets';
|
||||
let userID = '';
|
||||
let proxyIP = '';
|
||||
//let sub = '';
|
||||
let subConverter = atob('U1VCQVBJLmZ4eGsuZGVkeW4uaW8=');
|
||||
let subConverter = atob('U1VCQVBJLkNNTGl1c3Nzcy5uZXQ=');
|
||||
let subConfig = atob('aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL0FDTDRTU1IvQUNMNFNTUi9tYXN0ZXIvQ2xhc2gvY29uZmlnL0FDTDRTU1JfT25saW5lX01pbmlfTXVsdGlNb2RlLmluaQ==');
|
||||
let subProtocol = 'https';
|
||||
let subEmoji = 'true';
|
||||
@@ -1387,14 +1387,14 @@ async function 生成配置信息(userID, hostName, sub, UA, RproxyIP, _url, fak
|
||||
<strong>3.</strong> 快速切换 <a href='${atob('aHR0cHM6Ly9naXRodWIuY29tL2NtbGl1L1dvcmtlclZsZXNzMnN1Yg==')}'>优选订阅生成器</a> 至:sub.google.com,您可将"?sub=sub.google.com"参数添加到链接末尾,例如:<br>
|
||||
https://${proxyhost}${hostName}/${uuid}<strong>?sub=sub.google.com</strong><br>
|
||||
<br>
|
||||
<strong>4.</strong> 快速更换 PROXYIP 至:proxyip.fxxk.dedyn.io:443,您可将"?proxyip=proxyip.fxxk.dedyn.io:443"参数添加到链接末尾,例如:<br>
|
||||
https://${proxyhost}${hostName}/${uuid}<strong>?proxyip=proxyip.fxxk.dedyn.io:443</strong><br>
|
||||
<strong>4.</strong> 快速更换 PROXYIP 至:proxyip.cmliussss.net:443,您可将"?proxyip=proxyip.cmliussss.net:443"参数添加到链接末尾,例如:<br>
|
||||
https://${proxyhost}${hostName}/${uuid}<strong>?proxyip=proxyip.cmliussss.net:443</strong><br>
|
||||
<br>
|
||||
<strong>5.</strong> 快速更换 SOCKS5 至:user:password@127.0.0.1:1080,您可将"?socks5=user:password@127.0.0.1:1080"参数添加到链接末尾,例如:<br>
|
||||
https://${proxyhost}${hostName}/${uuid}<strong>?socks5=user:password@127.0.0.1:1080</strong><br>
|
||||
<br>
|
||||
<strong>6.</strong> 如需指定多个参数则需要使用'&'做间隔,例如:<br>
|
||||
https://${proxyhost}${hostName}/${uuid}?sub=sub.google.com<strong>&</strong>proxyip=proxyip.fxxk.dedyn.io<br>
|
||||
https://${proxyhost}${hostName}/${uuid}?sub=sub.google.com<strong>&</strong>proxyip=proxyip.cmliussss.net<br>
|
||||
</div>
|
||||
<script src="https://cdn.jsdelivr.net/npm/@keeex/qrcodejs-kx@1.0.2/qrcode.min.js"></script>
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user