🛰️

tun.myappsdomain.com

self-hosted tunnels (open source, powered by sish)

Create a tunnel

Expose a local web app to the public internet. The tunnel runs from your machine over SSH (nothing to install), so just run the command below. You need an SSH key (most machines already have one; if not, run ssh-keygen).


      
    

Your live tunnels

Loading...

Account

Anonymous: 1 tunnel per IP. Registered: 5 concurrent tunnels plus an API token. Sign in with email, then register your SSH public key so your tunnels count toward your account.

API documentation

Tunnels are created over SSH (the data plane). The HTTP API below lets registered users query and automate. Authenticate with Authorization: Bearer <api_token>. Base URL https://tun.myappsdomain.com.

Create / run a tunnel (SSH)

ssh -R NAME:80:localhost:PORT -p 2222 tun.myappsdomain.com
# then open https://NAME.tun.myappsdomain.com

GET /api/v1/me

Account info, limits, registered keys, active tunnels.

curl -H "Authorization: Bearer $TOKEN" https://tun.myappsdomain.com/api/v1/me

GET /api/v1/tunnels

Your currently active tunnels (host + url).

curl -H "Authorization: Bearer $TOKEN" https://tun.myappsdomain.com/api/v1/tunnels

GET /api/public/status

No auth. Service limits, total active tunnels, your IP usage.

curl https://tun.myappsdomain.com/api/public/status

GET /api/public/check?name=NAME

No auth. Is a subdomain available?

curl "https://tun.myappsdomain.com/api/public/check?name=myapp"