Self-hosted
Runs on your own VPS. Your traffic never touches a third party.
Self-hosted tunnels on your own domain. One binary, MIT licensed.
$ subtunnel local 3000 --to tunnel.example.com:7835 \
--token TOKEN --subdomain myapp
Forwarding https://myapp.tunnel.example.com -> localhost:3000
Install
curl -sSL https://www.subtunnel.dev/install.sh | shmacOS and Linux. Or download the binary from GitHub Releases.
Runs on your own VPS. Your traffic never touches a third party.
Every tunnel gets a subdomain on your domain, or bring any domain you own.
HTTPS with tooling you already trust. No proprietary edge.
Only clients holding your token can open a tunnel.
Written in Rust. No runtime, no dependencies to install.
Read the code. Fork it. It's yours.
Self-host
Point a wildcard A record for *.tunnel.example.com to your server.
Install SubTunnel and run subtunnel server on the VPS.
Run subtunnel local from your machine.