Port Forwarding
Maps one specific port on one host to another. Simple and reliable, but you need a new forward for every service you want to reach.
SOCKS Proxy / Tunneling
Routes arbitrary traffic through the pivot via tools like proxychains. More setup up front, but you get access to the whole subnet instead of one port at a time.
SSH Forwarding
If you’ve got SSH access to the pivot host, its built-in forwarding flags cover local, dynamic, and remote forwarding without needing to drop any extra tools on the target.- Local (-L)
- Dynamic (-D)
- Remote (-R)
Forwards a port on your own machine to a service only reachable from the pivot host, like a database sitting on its internal network.Multiple forwards can be chained in a single connection:
Proxychains
Proxychains wraps any command and routes its traffic through a SOCKS proxy, which is what turns anssh -D or Chisel SOCKS listener into something every other tool on your box can use.
proxychains to route it through the tunnel:
Chisel
Chisel tunnels traffic over HTTP, which makes it a solid option when raw socket connections get blocked but outbound HTTP doesn’t. It runs in two modes depending on which direction traffic can actually flow. Standard setup, when the pivot host can accept inbound connections from you:Ligolo-ng
Ligolo-ng sets up a tunnel using a virtual network interface instead of a SOCKS proxy, which means tools work against the target network directly rather than needing proxychains in front of every command.DNS and ICMP Tunneling
Both of these exist for the same reason: getting data out when every normal egress path is blocked except for a protocol defenders rarely filter closely. DNSCat2 encrypts traffic inside DNS queries, which makes it one of the stealthier tunneling options since DNS is almost never blocked outbound.ICMP Tunneling with ptunnel-ng
ICMP Tunneling with ptunnel-ng
ICMP tunneling hides traffic inside ping packets, which only works if ICMP is actually allowed out of the target network.From there you can layer SSH dynamic forwarding on top of the tunnel:ptunnel-ng on GitHub
Metasploit Pivoting
When you’re already working through a Meterpreter session,autoroute and the built-in SOCKS proxy module let you pivot without dropping any extra binaries on the target.
SOCKS over RDP (RDP-only access)
SOCKS over RDP (RDP-only access)
When RDP is the only access you have to a pivot host, SocksOverRDP tunnels a SOCKS connection through the RDP session itself.Load the plugin on your own machine before connecting:Open the RDP session as normal with
mstsc.exe, then transfer SocksOverRDP-Server.exe to the target and run it with admin rights. Point a proxy client like Proxifier at 127.0.0.1:1080 to route traffic through it.SocksOverRDP releasesQuick Reference Tools
Ligolo-ng
Interface-based tunneling, no SOCKS proxy required.
Chisel
HTTP-based tunneling with forward and reverse modes.
0xdf Chisel Cheatsheet
Practical Chisel usage patterns across different scenarios.
Proxifier
Windows GUI proxy client, pairs well with SocksOverRDP.

