SSH Tunneling - Local & Remote Port Forwarding (by Example)
Hussein Nasser Hussein Nasser
394K subscribers
233,817 views
0

 Published On Apr 27, 2020

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
   • Software Architecture  

💾 Database Engineering Videos
   • Database Engineering  

🛰 Network Engineering Videos
   • Network Engineering  

🏰 Load Balancing and Proxies Videos
   • Proxies  

🐘 Postgres Videos
   • PostgresSQL  

🚢Docker
   • Docker  

🧮 Programming Pattern Videos
   • Programming Patterns  

🛡 Web Security Videos
   • Web Security  

🦠 HTTP Videos
   • HTTP  

🐍 Python Videos
   • Python by Example  

🔆 Javascript Videos
   • Javascript by Example  

👾Discord Server   / discord  

Support me on PayPal
https://bit.ly/33ENps4

Become a Patreon
  / hnasr  

Stay Awesome,
Hussein

show more

Share/Embed