tunnelctl
CLI

down

Stop one tunnel (by protocol) or every tunnel on this host.

tunnelctl down gracefully stops the daemon(s) backing your tunnels on the current host. Pick the protocol + identifier, or stop everything with --all.

tunnelctl down http <slug>           # stop an HTTP tunnel
tunnelctl down tcp  <remote-port>    # stop a TCP tunnel
tunnelctl down udp  <remote-port>    # stop a UDP tunnel
tunnelctl down --all                 # stop every tunnel on this host

Examples

tunnelctl down http myapp
tunnelctl down tcp 27017
tunnelctl down --all
FlagDescription
--allStop all tunnels running on this host instead of a single one.

Stopping a tunnel shuts down its FRP client and frees the public endpoint. down is idempotent — stopping a tunnel that isn't running is a success, not an error ([already-stopped] …). The slug/port reservation itself remains on the server (subject to its lifecycle TTL) so you can bring it back up later — see tunnel state.

On this page