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-23: 69fb0a25ee445afedbd0b2098cfb9334ed7b38fb