نسخه فارسی این نوشته اینجاست
How to use this?
It's Super easy (you don't need any server). Just create a CF Worker and then copy & paste all of the worker.js file's content as the worker's configuration, then do all of these things:
Generate a UUID and replace the one in the worker's configuration after you paste it (line 201).
Save & Deploy.
OPTIONAL: If you've got a domain on your Cloudflare, add a custom domain for your worker.
Create a VLESS configuration on any V2Ray/Xray program that you use (personally, I prefer v2rayN)
Set TLS as TLS and your worker's domain as the SNI.
Set transport to ws.
Set your worker's domain as the ws host.
Set any Clean Cloudflare IP as the destination address. You may use
IRCF.spaceengage.cloudflareclient.com
as the destination address.Set 443 as port.
And finally, set your own generated UUID as the configuration's UUID.
Now you're all done. Test your VLESS configuration.