Examples

Common usage patterns for EZ Tunnel.

Expose a local dev server

$ eztunnel --port 3000

Creates a tunnel to localhost:3000 with a random subdomain.

Use a custom subdomain

$ eztunnel --port 8080 --subdomain my-app

Your tunnel is available at https://my-app.eztunnel.dev.

Tunnel to a local HTTPS server

$ eztunnel --port 443 --local-https --allow-invalid-cert

Forwards to a local HTTPS server, skipping certificate validation.

Monitor incoming requests

$ eztunnel --port 3000 --print-requests

Prints method, path, status code, and latency for every request.

Open in browser automatically

$ eztunnel --port 3000 --open

Starts the tunnel and opens the public URL in your default browser.