VPN Glossary 183 entries · 2026 ed.

SSH Tunnel

No. 150 of 183 Protocols
DefinitionSSH Tunnel

An SSH tunnel forwards app traffic through an encrypted Secure Shell connection to a server you control: a do-it-yourself, per-app VPN alternative.

§ 01

Definition

SSH, standardised in RFC 4251 onwards, is mainly used to log in to remote servers securely. It can also forward ports: traffic sent to a local port is carried through the encrypted SSH session and released on the server side, or the server can act as a SOCKS proxy for your browser.

§ 02

How it works

With dynamic forwarding (for example 'ssh -D 1080 user@server'), the SSH client opens a local SOCKS5 proxy. Apps configured to use it send their traffic through the server, so websites see the server's IP. Only those apps are covered, and DNS can still leak unless the app sends lookups through the proxy too.

§ 03

Why it matters

SSH tunnels are useful for developers and admins who already have a server, and they can work on networks that block VPN protocols. For everyday privacy they are less convenient than a VPN: no kill switch, per-app setup, and your privacy depends on whoever runs the server and its hosting provider.