@huoshan007: Still paying for airport proxies? You can really stop now. This trick is a bit crazy: Prepare two things: 1. Cloudflare account, free registration 2. A domain, a few dollars a year. Then configure it with this open-source tool, basically done in ten minutes. Unlimited nodes, Cloudflare CDN channels, YouT…

X AI KOLs Timeline Tools

Summary

edgetunnel is an open-source tool based on Cloudflare Workers/Pages, using edge computing tunnel technology to build proxy nodes, supporting VLESS, Trojan, Shadowsocks and other protocols, which can freely replace paid VPN services.

Still paying for airport proxies? You can really stop now. This trick is a bit crazy: Prepare two things: 1. Cloudflare account, free registration 2. A domain, a few dollars a year Then configure it with this open-source tool, basically done in ten minutes. Unlimited nodes, Cloudflare CDN channel, YouTube 4K, Netflix, ChatGPT all run. My first reaction after seeing it: Those VPN services costing tens per month suddenly seem a bit awkward. Tool: https://github.com/cmliu/edgetunnel… Demo: https://edt-pages.github.io/admin/ Tutorial: https://cdn.blog.cmliussss.com/p/edt2/
Original Article
View Cached Full Text

Cached at: 07/01/26, 06:01 AM

If you’re still paying for airport proxies, you can honestly stop now. Here’s a somewhat crazy trick: prepare two things: 1) a Cloudflare account (free to register), 2) a domain name (a few dollars a year). Then configure it with this open-source tool, and you’re basically done in ten minutes. Unlimited nodes, Cloudflare CDN channel, YouTube 4K, Netflix, ChatGPT – everything works.

My first reaction: those paid airports costing tens of dollars a month suddenly look a bit awkward.

Tool: https://github.com/cmliu/edgetunnel… Demo: https://edt-pages.github.io/admin/ Tutorial: https://cdn.blog.cmliussss.com/p/edt2/


cmliu/edgetunnel

Source: https://github.com/cmliu/edgetunnel

🚀 edgetunnel 2.1 Admin Page

Stars (https://github.com/cmliu/edgetunnel/stargazers) Forks (https://github.com/cmliu/edgetunnel/network/members) License (https://github.com/cmliu/edgetunnel/blob/main/LICENSE) Telegram (https://t.me/CMLiussss) YouTube (https://www.youtube.com/watch?v=LeT4jQUh8ok) zread (https://zread.ai/cmliu/edgetunnel) Ask DeepWiki (https://deepwiki.com/cmliu/edgetunnel)


📖 Project Introduction

edgetunnel is an edge computing tunnel decryption solution based on the CF Workers/Pages platform. It efficiently handles network traffic and provides a powerful management panel with flexible node configuration capabilities.

  • 🖥️ Demo Site: https://EDT-Pages.github.io/admin

✨ Core Features

  • 🛡️ Protocol Support: Supports major protocols such as VLESS, Trojan, and Shadowsocks, with deep integration of encrypted transmission.
  • 📊 Management Panel: Built-in visual backend supporting real-time configuration changes, log viewing, and traffic statistics.
  • 🛠️ Flexible Deployment: Fully compatible with CF Workers and CF Pages (GitHub / Upload).
  • 🔄 Subscription System: Built-in automatic subscription generation and obfuscation conversion, compatible with major clients (Clash, Sing-box, Surge, etc.).
  • Performance Acceleration: Supports custom ProxyIP, SOCKS5/HTTP chained proxy, and optimized API to reduce network latency.
  • 🌐 Multi-Platform Support: Perfectly compatible with Windows, Android, iOS, macOS, and various router firmware.

💡 Quick Deployment

📖 Detailed Guide with Screenshots: edgetunnel Deployment Guide (https://cmliussss.com/p/edt2/)

⚠️ Error 1101 Issue: Video Explanation (https://www.youtube.com/watch?v=r4uVTEJptdE)

⚙️ Workers Deployment

「 Workers Deployment Text Guide 」

  1. Deploy CF Worker:

    • Create a new Worker in the CF Workers dashboard.
    • Paste the content of worker.js (https://github.com/cmliu/edgetunnel/blob/main/_worker.js) into the Worker editor.
    • In the left Settings tab, select Variables > Add Variable. Fill in variable name ADMIN with your admin password, then click Save.
  2. Bind KV Namespace:

    • In the Bindings tab, select Add Binding + > KV Namespace > Add Binding. Choose an existing namespace or create a new one.
    • Set the variable name to KV, then click Add Binding.
  3. Bind Custom Domain to Workers:

    • In the Workers dashboard’s Triggers tab, click Add Custom Domain at the bottom.
    • Enter a subdomain already under CF DNS, e.g., vless.google.com, then click Add Custom Domain. Wait for the certificate to take effect.
  4. Access Admin Panel:

    • Visit https://vless.google.com/admin and enter the admin password to log in.

🛠 Pages Upload Deployment

Best Recommended!!! Guide with Screenshots (https://cmliussss.com/p/edt2/)

「 Pages Upload Deployment Text Guide 」

  1. Deploy CF Pages:

    • Download main.zip (https://github.com/cmliu/edgetunnel/archive/refs/heads/main.zip) and don’t forget to star the repo!
    • In the CF Pages dashboard, select Upload assets, name your project, click Create project, upload the downloaded main.zip (https://github.com/cmliu/edgetunnel/archive/refs/heads/main.zip), then click Deploy site.
    • After deployment, click Continue to site, then go to Settings > Environment Variables > Make production environment variables > Add Variable. Set variable name ADMIN with your admin password, then click Save.
    • Return to the Deployments tab, click Create new deployment at the bottom right, re-upload main.zip (https://github.com/cmliu/edgetunnel/archive/refs/heads/main.zip), then click Save and deploy.
  2. Bind KV Namespace:

    • In the Settings tab, select Bindings > + Add > KV Namespace. Choose an existing namespace or create a new one.
    • Set the variable name to KV, then click Save and redeploy.
  3. Bind CNAME Custom Domain to Pages: Video Tutorial (https://www.youtube.com/watch?v=LeT4jQUh8ok&t=851s)

    • In the Pages dashboard’s Custom domains tab, click Set up custom domain at the bottom.
    • Enter your custom subdomain. Do not use your root domain. For example, if your assigned domain is fuck.cloudns.biz, enter lizi.fuck.cloudns.biz.
    • Follow CF’s instructions to add a CNAME record for lizi pointing to edgetunnel.pages.dev at your DNS provider, then click Activate domain.
  4. Access Admin Panel:

    • Visit https://lizi.fuck.cloudns.biz/admin and enter the admin password to log in.

🛠 Pages + GitHub Deployment

「 Pages + GitHub Deployment Text Guide 」

  1. Deploy CF Pages:

    • First, fork this project on GitHub and don’t forget to star!
    • In the CF Pages dashboard, select Connect to Git, choose the edgetunnel project, then click Begin setup.
    • At the bottom of the Configure build and deployment page, select Environment variables (advanced) and Add variable. Set variable name ADMIN with your admin password, then click Save and deploy.
  2. Bind KV Namespace:

    • In the Settings tab, select Bindings > + Add > KV Namespace. Choose an existing namespace or create a new one.
    • Set the variable name to KV, then click Save and redeploy.
  3. Bind CNAME Custom Domain to Pages: Video Tutorial (https://www.youtube.com/watch?v=LeT4jQUh8ok&t=851s)

    • In the Pages dashboard’s Custom domains tab, click Set up custom domain at the bottom.
    • Enter your custom subdomain. Do not use your root domain. For example, if your assigned domain is fuck.cloudns.biz, enter lizi.fuck.cloudns.biz.
    • Follow CF’s instructions to add a CNAME record for lizi pointing to edgetunnel.pages.dev at your DNS provider, then click Activate domain.
  4. Access Admin Panel:

    • Visit https://lizi.fuck.cloudns.biz/admin and enter the admin password to log in.

🔑 Environment Variables

Variable NameRequiredExampleNotes
ADMIN123456Admin panel password
KEYCMLiussssQuick subscription path key; visit /CMLiussss to get nodes quickly
UUID90cd4a77-141a-43c9-991b-08263cfe9c10Force fixed UUID; only UUIDv4 standard format is supported
PROXYIPproxyip.cmliussss.net:443Global custom reverse proxy IP
URLhttps://cloudflare-error-page-3th.pages.devDefault homepage camouflage URL (can be a web URL or 1101)
GO2SOCKS5blog.cmliussss.com,*.ip111.cn,*google.comForce traffic through SOCKS5 (URLs separated by commas; * for global)
DEBUG1 or trueDeveloper mode: default off (no debug logs); set to 1 or true to enable debug logging
OFF_LOG1 or trueLogging is on by default; set to 1 or true to disable logging
BEST_SUB1 or trueDefault off: use as optimized subscription generator; set to 1 or true to enable
PRELOAD_RACE_DIAL1 or trueDefault off: use as preloaded race dialing; set to 1 or true to enable

🔧 Advanced Tips

To modify the TOKEN in the subscription URL and the UUID used for node validation, adjust the variables:

  1. Changing the value of ADMIN or KEY will randomly modify the subscription URL TOKEN and node validation UUID.
  2. Setting the UUID variable forces a fixed subscription URL TOKEN and node validation UUID. It must be a valid UUIDv4 standard format; otherwise, nodes will not work.

This tool supports dynamically switching the underlying proxy scheme via PATH parameters:


💻 Client Compatibility

PlatformRecommended Clients
Windowsv2rayN (https://github.com/2dust/v2rayN/releases), Hiddify (https://github.com/hiddify/hiddify-app/releases), FlClash (https://github.com/chen08209/FlClash/releases), mihomo-party (https://github.com/mihomo-party-org/clash-party/releases), Clash Verge Rev (https://github.com/clash-verge-rev/clash-verge-rev/releases), Clashmi (https://github.com/KaringX/clashmi/releases), FlyClash (https://github.com/GtxFury/FlyClash/releases), Karing (https://github.com/KaringX/karing/releases), Bettbox (https://github.com/appshubcc/Bettbox/releases)
Androidv2rayNG (https://github.com/2dust/v2rayNG/releases), ClashMetaForAndroid (https://github.com/MetaCubeX/ClashMetaForAndroid/releases/), FlClash (https://github.com/chen08209/FlClash/releases), Clashmi (https://github.com/KaringX/clashmi/releases), Hiddify (https://github.com/hiddify/hiddify-app/releases), NekoBox (https://github.com/MatsuriDayo/NekoBoxForAndroid/releases), FlyClash (https://github.com/GtxFury/FlyClash/releases), Karing (https://github.com/KaringX/karing/releases), Bettbox (https://github.com/appshubcc/Bettbox/releases)
iOSSurge, Shadowrocket, Stash, Hiddify (https://github.com/hiddify/hiddify-app/releases), Loon, Egern, Clashmi (https://clashmi.app/download), Karing (https://karing.app/), Quantumult X
macOSFlClash (https://github.com/chen08209/FlClash/releases), mihomo-party (https://github.com/mihomo-party-org/clash-party/releases), Clash Verge Rev (https://github.com/clash-verge-rev/clash-verge-rev/releases), Surge, Clashmi (https://clashmi.app/download), Karing (https://karing.app/), FlyClash (https://github.com/GtxFury/FlyClash/releases)
HarmonyOSClashBox (https://github.com/xiaobaigroup/ClashBox/releases)

⭐ Project Stars

Stargazers over time (https://starchart.cc/cmliu/edgetunnel)


🙏 Special Thanks

💖 Sponsors

  • Provides cloud server to maintain subscription conversion service (https://sub.cmliussss.net/)
  • Alice (https://url.cmliussss.com/alice)
  • EasyLinks (https://www.vmrack.net?ref_code=5Zk7eNhbgL7)
  • ZMTO(VTEXS) (https://zmto.com/?affid=1532)

🛠 Open Source Code References

  • zizifn/edgetunnel (https://github.com/zizifn/edgetunnel)
  • 3Kmfi6HP/EDtunnel (https://github.com/6Kmfi6HP/EDtunnel)
  • SHIJS1999/cloudflare-worker-vless-ip (https://github.com/SHIJS1999/cloudflare-worker-vless-ip)
  • Stanley-baby (https://github.com/Stanley-baby)
  • ACL4SSR (https://github.com/ACL4SSR/ACL4SSR/tree/master/Clash/config)
  • Gǔ shén (https://t.me/CF_NAT/38889)
  • Workers/Pages Metrics (https://t.me/zhetengsha/3382)
  • Bái piào gē (https://t.me/bestcfipas)
  • Mingyu (https://github.com/ymyuuu/workers-vless)
  • ToiCF/CF-Workers-HTTPS (https://github.com/ToiCF/CF-Workers-HTTPS)
  • ToiCF/CF-Workers-TURN (https://github.com/ToiCF/CF-Workers-TURN)
  • ToiCF/CF-Workers-SoftEther (https://github.com/ToiCF/CF-Workers-SoftEther)
  • eooce (https://github.com/eooce/Cloudflare-proxy)
  • Sukka (https://ip.skk.moe/)
  • zhangtaile (https://github.com/cmliu/edgetunnel/pull/999)
  • 1345695 (https://github.com/1345695/edcloudwasm)
  • ToiCF/GrainTCP (https://github.com/ToiCF/GrainTCP)

⚠️ Disclaimer

  1. This project (“edgetunnel”) is intended solely for educational, scientific research, and personal security testing purposes.
  2. Users must strictly comply with local laws and regulations when downloading or using the project code.
  3. The author cmliu assumes no responsibility for any actions or consequences resulting from the misuse of this project code.
  4. This project is not liable for any direct or indirect damages caused by the use of its code.
  5. It is recommended to delete all project deployments within 24 hours after testing.

If you find this project helpful, please give it a Star 🌟 – it’s the greatest encouragement to me!

Similar Articles

@brucexu_eth: Damn, my internet just went down out of nowhere, all the VPN nodes were down. I messed around for a while, including trying to use Tailscale exit node, and I was just about to get it working when I realized I logged into Tailscale with Google. It was a dead loop, wtf. Finally, @draken_zeng recommended E…

X AI KOLs Timeline

Recommended an open-source project called edgetunnel, an edge computing tunnel decryption based on Cloudflare Workers/Pages, which can serve as a free replacement for paid VPN services.

@dulipeng: https://x.com/dulipeng/status/2067450611529093311

X AI KOLs Timeline

This article is a practical tutorial that details how to use the Cloudflare Workers/Pages free tier to deploy a low-cost VPN, based on the open-source project edgetunnel, and used with clients like Clash and Shadowrocket.

@ezshine: My wife returned to China and asked me to set up a VPN for her. I was going to buy a cheap one for a few bucks, but then I found an open-source project that uses Cloudflare's thousands of global edge nodes for circumvention, allowing you to switch IPs freely, free of charge, with blazing speed. Deployment is super simple—just 2 steps. Can you handle that?

X AI KOLs Timeline

An open-source project leverages Cloudflare's global edge nodes to provide free circumvention service, with simple deployment, fast speed, and freely changeable IPs.