SSH Tunnelling

The SSH protocol is one of the most popular protocols for tunnelling and port forwarding because of its ability to create encrypted tunnels within the SSH protocol, which supports bidirectional communication channels.

SSH Local Port Forwarding

SSH Remote Port Forwarding

SSH Dynamic Port Forwarding

In this example, we would like to target additional ports on the Windows Server 2016 machine, or other hosts on the internal network, without having to establish different tunnels for each port or host of interest.


Relevant Note(s): Pivoting