Port Forwarding
Port Forwarding Overview
Create and manage SSH local, remote, and SOCKS5 tunnels from Ternux.
Ternux supports SSH port forwarding directly from the Connections UI — no manual ssh -L flags required. Tunnels are associated with a connection and can be started and stopped independently.
Tunnel types
| Type | Direction | Use case |
|---|---|---|
| Local | Remote → Local | Access a remote database or service on a local port |
| Remote | Local → Remote | Expose a local development server to the remote host |
| SOCKS5 | Dynamic proxy | Route browser or app traffic through the SSH server |
Managing tunnels
Go to Connections → Port Forwarding to see all saved tunnel rules.
Each tunnel card shows:
- Tunnel type badge (Local / Remote / SOCKS5)
- Source and destination address
- Status (Active / Inactive)
- Associated SSH connection