Skip to content

TCP Tunneling

Andrew Lambert edited this page Dec 4, 2020 · 3 revisions

TCP Tunneling

Remarks

Tunnels are a way for your app (the "client") to instruct the SSH server (the "intermediary") to establish or accept TCP/IP connections to or from a third-party server (the "peer"), using one or more of the intermediary's local network interfaces. When the peer accepts a connection from the intermediary, or the intermediary accepts a connection from the peer, the intermediary attaches the input and output of the connection to the input and output of a new SSH Channel using the SSH Session it has with the client.

 Client (you) <---SSH---> Intermediary (SSH server) <---TCP---> Peer (www.example.com:80)

See also

Clone this wiki locally