All apps/ngrok

ngrok

ngrok

The ngrok agent is a lightweight command-line program that forwards traffic from endpoints on the ngrok cloud service to your upstream services.

Runs as ngrok|macOS, Linux, Windows|ngrok.com

Command form

ai-draft · 3 tasks · 18 fields

Global options only; use the HTTP and TCP subcommands. Config-file tunnels (start) are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ngrok

ngrok http

HTTP tunnel

Expose a local HTTP port or host.

HTTP tunnelExample values, fixed in this page — nothing here reaches a terminal
Basic
Port or host*
string
Region
7 choicesenum
TasksEach one presets the form for one job
Expose port
hostregion
Custom subdomain
hostsubdomainregion
ParametersOnly these flags are editable in the form
Port or host
string · positional 0
8080
Custom hostname
string
--hostname
Custom subdomain
string
--subdomain
Basic auth (user:password)
string
--auth
Listen for
enum
--bind-tlstruefalseboth
Host header
string
--host-headerrewrite
Config file
path
--config
Region
enum
--regionuseuauapsajpin
Log level
enum
--log-levelcritwarnerrorinfodebug
Log format
enum
--log-formattermlogfmtjson
Log destination
string
--logstdoutstderrfalse

ngrok tcp

TCP tunnel

Expose a local TCP port.

TCP tunnelExample values, fixed in this page — nothing here reaches a terminal
Basic
Port*
string
Region
7 choicesenum
TasksEach one presets the form for one job
Expose port
portregion
ParametersOnly these flags are editable in the form
Port
string · positional 0
22
Reserved remote address
string
--remote-addr
Config file
path
--config
Region
enum
--regionuseuauapsajpin
Log level
enum
--log-levelcritwarnerrorinfodebug
Log format
enum
--log-formattermlogfmtjson
Log destination
string
--logstdoutstderrfalse
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed ngrok against its version. A form that does not match your version is not offered.