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-04-16: 8579f34f0a3ec5b8043d5eade8e87124d41cf83b