English 🇬🇧 | 🇮🇷 فارسی
🟢 Cloudflare has made it possible to run serverless configs and also access VPS configs via routing the traffic through the CDN. In this script, we attempt to allow Trojan VPS configs to be used via Cloudflare CDN as well.
- Login or Signup at https://dash.cloudflare.com and verify your email address.
- Head to
Workers and Pages
to create and name a worker. - Click
Edit Code
code to enter the editing environment. - Get the Latest version of the Trojan script, and copy the entire content.
- Paste the content of the script onto the mentioned step 3 javascript editing environment.
- Click
Deploy
located at top-right corner (Consider hitting Ctrl+S combo first if the Deploy button doesn't light up) - Your Worker subscription URL will be
https://{your_worker_address}.workers.dev/sub/{your_clean_ip}
🟡 You can add or change source subscription links over at subLinks
in the initial part of the script. Both standard and base64 are supported.
🟡 Note that Vmess, Vless and Trojan configs with Websocket (WS), TLS and port 443 characteristics will be gathered.
🟡 The base worker URL can fetch clean IPs via IRCF Space Repo, but it's still recommended to use Scanners.
🟡 To get a certain number of configs instead of all the parsed configs list, add '?n=xxx' to end of your subscription link, where xxx is the number of the configs you need to be displayed.