Skip to content

CLI Flags

Porthole includes several flags to customize your tunneling experience.

Show the current version of the Porthole CLI.

Display help information for any command.

These flags can be used when starting a tunnel (e.g., porthole 3000 --qr).

Opens the QR code modal immediately when the tunnel starts. Useful for quickly testing on mobile devices.

Request a custom subdomain for your tunnel. If the name is already active, Porthole falls back to name-<random>.

Protect your public tunnel with a password. Visitors will be prompted to enter this password before accessing your local service.

Enable detailed logging. This is helpful for debugging connection issues or seeing full request/response details.

Disable anonymous usage tracking. Porthole collects minimal, anonymous data to help improve the service.

CommandArgumentDescription
[port]<number>Starts a tunnel for the specified local port (default command)
list-Lists all active tunnels (coming soon)
stop<id>Stops a specific active tunnel (coming soon)