Skip to content

Sosha1996/tunl

 
 

Repository files navigation

tunl

a serverless v2ray tunnel (docs)

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

Contributing

Contributions are very welcome. Before contributing, make sure to look at the contribution documentation in HACKING.md.

About

a serverless tunnel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.0%
  • Makefile 1.0%