In this video I explain how to perform SSH Tunneling with Local Port forwarding and remote port
forwarding
Chapters
0:00 Intro
3:30 Local Port Forwarding Example
11:20 Remote Port Forwarding Example
I need to access something remote that I don’t have access to.
only expose 1 port securely and access pretty much any service (database etc..)
ssh -L local_port:remote_address:remote_port username@sshserver
I need people to access something local on my machine that they don’t have access to
ssh -R remote_port:local_address:local_port username@sshserver
For Remote Port forwarding the ssh server config /etc/ssh/sshd_config should have a property GatewayPorts yes
🏭 Software Architecture Videos
[ Ссылка ]
💾 Database Engineering Videos
[ Ссылка ]
🛰 Network Engineering Videos
[ Ссылка ]
🏰 Load Balancing and Proxies Videos
[ Ссылка ]
🐘 Postgres Videos
[ Ссылка ]
🚢Docker
[ Ссылка ]
🧮 Programming Pattern Videos
[ Ссылка ]
🛡 Web Security Videos
[ Ссылка ]
🦠 HTTP Videos
[ Ссылка ]
🐍 Python Videos
[ Ссылка ]
🔆 Javascript Videos
[ Ссылка ]
👾Discord Server [ Ссылка ]
Support me on PayPal
[ Ссылка ]
Become a Patreon
[ Ссылка ]?
Stay Awesome,
Hussein
![](https://i.ytimg.com/vi/N8f5zv9UUMI/mqdefault.jpg)