bdy tunnel

$bdy tunnel [options] [command]

The tunnel command manages tunnels configuration

OPTIONS
-h, --help
display help for command
AVAILABLE COMMANDS
Starts tunnel from the configuration file.
The config command gives a quick way to create or update configuration file.
Starts a tunnel listening for HTTP/HTTPS traffic with a specific hostname.
Starts a tunnel which forwards all TCP traffic on a public port to a local address. This is extremely useful for exposing services that run non-HTTP traffic (ssh, sip, rdp, game servers, etc).
Starts a tunnel listening for TLS traffic on port 443 with a specific hostname.

Documentation for bdy v1.20.0

Last modified on Apr 13, 2026

Examples

Start http tunnel on port 80
bdy tunnel http 80$
Start named http tunnel and serve local directory
bdy tunnel http -n name -s /path/to/dir$
Start http tunnel, whitelist ip and turn on on basic auth
bdy tunnel http https://myhost.com -w 1.1.1.1 -a user:pass$
Start tls tunnel on port 80
bdy tunnel tls 80$
Start tls tunnel and terminate tls at target
bdy tunnel tls 443 -i target$
Start tcp tunnel on port 22
bdy tunnel tcp 22$
Start named tcp tunnel with whitelist
bdy tunnel tcp 80 -n name -w 1.1.1.1/27$
Add tunnel to config
bdy tunnel config add http name 80$
Start tunnel from config
bdy tunnel start name$