Skip to content

amiremohamadi/tunl

Repository files navigation

tunl

a serverless v2ray tunnel

Deploy

Easy Deploy (recommended)

click on the button below:

Deploy to Cloudflare Workers

and visit https://{YOUR-WORKERS-SUBDOMAIN}.workers.dev/link to get the config links.

Manually

  1. Create an API token from the cloudflare dashboard.
  2. Create a .env file based on .env.example and fill the values based on your tokens
Variable Description
CLOUDFLARE_API_TOKEN The API key retrieved from Cloudflare dashboard
  1. Deploy
$ make deploy
  1. Modify the xray config and run:
$ xray -c ./config/xray.json