SSH Tunneling - Local & Remote Port Forwarding (by Example)

preview_player
Показать описание
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..)

I need people to access something local on my machine that they don’t have access to

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

Support me on PayPal

Become a Patreon

Stay Awesome,
Hussein
Рекомендации по теме
Комментарии
Автор

It is really, really great that there are still tech channels which actually share tech knowledge and don't just publish videos, such as "top languages to learn in 2025". I really hope you keep up with this great videos and don't become a slave to the algorithm.

antonimihailov
Автор

Hey there - I stumbled upon your video when I was looking up reverse proxies and I just wanted to say that you're such an excellent explainer! I see from your profile that you update frequently and consistently. Thank you for doing what you do, I'd definitely recommend this site to my friends when you cover topics they like!

callistachang
Автор

This covered in 7 minutes (only needed local) what I've been trying to understand for a couple weeks... I normally don't "research" on youtube, but your practical example was great. Thanks so much!

maxteer
Автор

The only guy on the internet that explains SSH port forwarding and remote port forwarding properly.

anothersonnyday
Автор

Clear, to the point, no BS explanation.
Well done!

rvoros
Автор

This is BY FAR the best explanation of local & remote port forwarding that I have seen anywhere. It makes it very clear exactly who is requesting what from where at each point in the request, and the separation of resources is most helpful ; most other explanations will have the requested resource and the ssh server be on the same host, not making it clear that the requested resource can actually be running on a different host. Huge thanks to you for sharing such a great video with us!

ThanhTran-wfjf
Автор

I have read so many articles and I was really struggling understand what happens behind the scenes.

Brilliant explanation and visuals, thanks you!

xx
Автор

Awesome explaination! I read (*skimmed*) 5 articles on local vs remote port forwarding and didn't grok it until I saw your visuals. Thanks for this!

LukePammant
Автор

Also a wonderful video with explanation and examples. Thank you!

varghapayandeh
Автор

Thanks for this! You have a really good way of explaining things. Appreciate it :)

acooper
Автор

this is exactly what I needed. Thanks.

yousofebneddin
Автор

super super helpful. This single video cleared all the confusion I had about local and remote port forwarding. Thanks man!!!

Abinashdash
Автор

Thanks, definately had a woah moment when the web interface of process on my aws server popped up
So usefull!

bjornotto
Автор

Thank you sir. This was exactly what I needed. I don't know why on Earth I had so much trouble building a remote ssh tunnel, but I did and it was only after viewing your video that I was able to get everything working solidly. Once again thank you for the clear explanation.

demandelz
Автор

This is the best explanation I have found so far... Thank you so much ^^

gangstaberry
Автор

Thanks for the nudge in the right direction ... helped!

BradMore
Автор

Been waiting for this.
Great video by the way

mohammade.
Автор

Man, you are the guru of back-end engineering

abdalla_zaki
Автор

Wow, this was a great video, I was able to learn a lot from this. Great examples, and great and clear speech. Thank you very much for this brother.

SkreenGG
Автор

Your video helped me understand a lot of things, thank you!

meryemeaitahmed-brahim