VLESS and Trojan proxy scripts to deploy on your own Cloudflare Workers or Pages
commercial softwareself-hostablefree
Cloudflare-vless-trojan is a set of scripts by yonggekkk that run a VLESS or Trojan proxy over WebSocket (with or without TLS) on your own Cloudflare Workers or Pages account, configured with a few variables, and hand out single-node links and subscriptions for general clients, sing-box and Clash. The repository also has a local SOCKS5 and HTTP proxy script with optional ECH-TLS, and tools for picking Cloudflare IPs. It's meant to be deployed and edited locally, without third-party subscription converters.
Problems it solves
- run my own proxy on Cloudflare Workers
- VLESS proxy without renting a VPS
- generate Clash and sing-box subscriptions from my own proxy
Features
- VLESS and Trojan over WebSocket on Workers or Pages
- TLS and non-TLS nodes
- subscriptions for general clients, sing-box and Clash
- custom proxy IP
- local SOCKS5/HTTP script with optional ECH-TLS
- Cloudflare IP selection tools
Limitations
- Cloudflare's terms forbid using its services to provide a VPN or similar proxy service, so the Cloudflare account it runs on can be suspended.1
- Its repository has no licence file, so it isn't open source: you may read the code, but no licence grants reuse.2
- Its defaults are a UUID and password shared by many users and other people's proxy IPs: set your own before using it.3
Alternatives
The same job
These do what Cloudflare-vless-trojan does.
- CFnew Small proxy core for your own Cloudflare Workers or Pages, with a separate panel