amiremohamadi / tunl

serverless v2ray tunnel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

serverless v2ray tunnel


Languages

Language:Rust 98.0%Language:Makefile 2.0%