BlogWikiAbout

Kyle Pericak

"It works in my environment"

Port Forwarding through SSH Tunnels

Port Forwarding through SSH Tunnels

Created: 2019-08-18, Modified: 2019-08-18

How to use SSH tunnels to reach a server behind a firewall using a pivot host. Covers reverse SSH tunnels with -R, local port forwarding with -L, and chaining two tunnels to proxy through an intermediary server.

Blog code last updated on 2026-05-10: 2643ad795e21d296b577516823e6878dab2fb1e2