Skip to content

Port forwarding

ezTerm supports all three SSH port-forward kinds — same semantics as the OpenSSH command-line flags.

KindFlagWhat it does
Local-LClient port → remote-reachable destination.
Remote-RRemote port → client-reachable destination.
Dynamic-DLocal SOCKS5 proxy that tunnels through the server.
  • Persistent forwards are saved on the session and auto-start when you connect.
  • Ad-hoc forwards are added to a running tab from the Forwards side-pane and die with the connection.

Both kinds flow through the same runtime and look identical in the UI.

  1. On a running SSH tab, open the Forwards side-pane (toolbar icon).
  2. Click + Add forward.
  3. Pick the kind, set bind address/port and destination address/port.
  4. Save.

Or pre-configure persistent forwards in the session edit dialog’s Forwards tab.

  • The dynamic forward implements SOCKS5 with no auth, CONNECT only. BIND and UDP ASSOCIATE are out of scope.
  • Privileged ports (<1024) are allowed in the UI; the OS enforces. Bind failure surfaces in the pane with elevation guidance.
  • Two tabs binding the same local port → second tab gets a friendly EADDRINUSE error.
  • Editing a running forward = stop + restart.

Defaults to 127.0.0.1. Non-loopback values are allowed but trigger a yellow “LAN-reachable” warning so you don’t accidentally expose a tunnel to your whole network.