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-09: fd3a47e9bd6d420b5eb9ac6ebbf26f6063ec3d79