HostDock
Port forwarding

SSH tunnels you can actually see

HostDock manages SSH port forwarding as saved rules: local (-L), remote (-R) and dynamic (-D) tunnels that also work as an HTTP proxy. All rules for all servers are on one page, and each can start when HostDock launches.

HostDock port forwarding page listing local, remote and dynamic forwarding rules with their status

What you can do

Local, remote and dynamic

Reach a database behind the server, publish a local dev server through it, or browse through it with a SOCKS5/HTTP proxy on a single port.

One page for every rule

See all tunnels across all servers with their state. Rules run independently of terminal tabs and can start automatically at launch.

Explained as you type

The form explains each mode, draws a live diagram of where traffic goes and shows the equivalent ssh command.

Safe by default

Ports bind to 127.0.0.1. Opening one to your local network is an explicit choice that comes with a warning.

At a glance

ModesLocal (-L) · remote (-R) · dynamic (-D) with SOCKS5 and HTTP proxy on the same port
Dynamic DNSTarget names are resolved on the server side
Binding127.0.0.1 by default; LAN binding is opt-in
StartupOptional auto-start when HostDock launches
ConnectionEach server’s tunnels use their own SSH connection, separate from your terminal
Clear errorsPort in use, permission denied, AllowTcpForwarding disabled, target unreachable
SyncRules sync between your computers inside the end-to-end encrypted vault

Frequently asked questions

What is the difference between local, remote and dynamic forwarding?

Local forwarding (-L) makes a service reachable from the server appear on a port on your Mac. Remote forwarding (-R) makes a port on your Mac reachable from the server. Dynamic forwarding (-D) turns a local port into a proxy that sends any connection through the server; in HostDock that port speaks both SOCKS5 and HTTP proxy.

Can a tunnel run without a terminal open?

Yes. Forwarding rules have their own connection and keep running when you close terminal tabs. You can also set them to start automatically when HostDock launches.

More in HostDock

Bring your servers into one window

Free download for macOS 12 Monterey or later.