1 Port Forwarding
zbuddy edited this page 2026-11-04 06:43:21 -05:00

Port forwarding

Port forwarding (SSH tunnelling) carries network traffic through one of your SSH hosts. Typical uses: reach a database that only listens inside a private network, or browse through a server as a SOCKS proxy.

The Port Forwarding page

Each row shows the forward's state (up with the number of open connections, down, starting or error), its label, type, host, the bind address (where it listens) and the destination. Use the buttons at the end of a row to start/stop, edit or delete it.

Where does a forward listen?

Jumpdeck's forwards run on the Jumpdeck server, not on your computer. A local forward on 127.0.0.1:15432 listens inside the Jumpdeck container. To reach it from your machine, the person running the server publishes that port with Docker (for example -p 127.0.0.1:15432:15432) or you reach it from something running next to Jumpdeck.

By default forwards may only listen on 127.0.0.1. An administrator can allow other addresses with ALLOW_PUBLIC_FORWARD_BIND.

Types

Type What it does Example
Local (container → remote) Connections to the bind port are carried through the host to the destination Bind 127.0.0.1:15432 → destination 127.0.0.1:5432 on acme-db-prod-eu: the database on that server
Remote (host → container side) The host listens on the bind port; connections are carried back to the destination on Jumpdeck's side Let a server send webhooks to a service next to Jumpdeck
Dynamic (SOCKS5) A SOCKS5 proxy on the bind port; every connection goes out through the host Point a browser at it to browse as if you were on that server

Creating a forward

Press NEW FORWARD:

Creating a port forward

  1. Type: Local, Remote or Dynamic.
  2. Host: the SSH host to tunnel through. It needs saved credentials.
  3. Label: a name, e.g. Postgres (prod).
  4. Bind address and Bind port: where the forward listens.
  5. Destination host and Destination port (not for Dynamic): where traffic goes, as seen from the host. 127.0.0.1 means "the host itself".
  6. Start automatically when I unlock my vault: brings the forward up every time you unlock.
  7. Save, then press ▶ on the row to start it.

If a forward goes to error, point at the badge to see why. Common causes: the port is already in use, the host is unreachable, or the server doesn't allow forwarding (AllowTcpForwarding in its sshd_config).

Forwards are personal and only use hosts from your personal vault.