{{.Host}} tunneling service

This service uses WireGuard to expose your local server to the Internet. (No custom client needed!)

Usage

In your terminal:

curl -sSL http://{{.Host}}/[PORT YOU WANT TO FORWARD] | sh
    

For example, to forward port 8080:

curl -sSL http://{{.Host}}/8080 | sh
    

You will receive a URL that you can use to access your server from anywhere.

Policy

Interface name: {{.Iface}}
The automated set up script will overwrite any existing interface with this name with its own.
Inactivity time: {{.ExpireAfter}} seconds
Tunnels will expire after this amount of time. (You will need to re-create a new one.)
Permissioned: {{.Permissioned}}
If true, a secret key will also need to be passed to create a tunnel.
curl -sSL http://{{.Host}}/[PORT YOU WANT TO FORWARD]?key=[SECRET KEY] | sh