CLI Reference

All available flags for the eztunnel command.

FlagDescription
-p, --portrequiredLocal port to expose through the tunnel.
-h, --hostTunnel server URL to connect to. Defaults to the eztunnel public server.
-s, --subdomainRequest a specific subdomain (4–63 lowercase alphanumeric characters). A random subdomain is assigned if omitted.
-l, --local-hostHostname to tunnel to instead of localhost. The Host header is rewritten automatically.
--local-httpsConnect to the local server over HTTPS instead of HTTP.
--local-certPath to a TLS certificate file for local HTTPS connections.
--local-keyPath to a TLS key file for local HTTPS connections.
--local-caPath to a CA certificate file for local HTTPS connections.
--allow-invalid-certSkip TLS certificate validation for the local server (useful with self-signed certs).
-o, --openAutomatically open the tunnel URL in your default browser.
--print-requestsLog every request that passes through the tunnel to the terminal.