SSH Tunneling Explained

Sdílet
Vložit
  • čas přidán 13. 06. 2024
  • 🎵Teach me how to tunnel, teach me, teach me how to tunnel🎵 Ever gotten frustrated because your school or your work blocks fun/entertaining sites that can help you unwind and relax therefore increasing your productivity? SSH Tunneling is a good secure way to bypass firewalls that block sites. But that's not all! Order now and we'll also toss in local and reverse port forwarding! Check out the video to figure out what the heck I'm talking about and the magic SSH Tunneling has to offer!
    _____________________________
    📲🔗🔗📲 IMPORTANT LINKS 📲🔗🔗📲
    ______________________
    List of common TCP/IP ports - web.mit.edu/rhel-doc/4/RH-DOC...
    Putty - www.putty.org/
    Serveo - serveo.net
    _____________________________
    💰💰💰💰 SUPPORT THE SHOW 💰💰💰💰
    ______________________
    www.tinkernut.com/donate
    _____________________________
    🤔💡🤔💡 SUBMIT YOUR IDEAS 🤔💡🤔💡
    ______________________
    www.tinkernut.com/ideas
    ____________________________
    📢📢📢📢 Follow 📢📢📢📢
    ____________________________
    redd.it/5o3tp8
    instagram.com/
    / tinkernut
    / tinkernut

Komentáře • 303

  • @dicktonyboy
    @dicktonyboy Před 5 lety +257

    The simplest, very best explanation and comprehensive coverage I have seen on this subject for several decades - no ever!

    • @Tinkernut
      @Tinkernut  Před 5 lety +19

      Thanks! That really means a lot :-)

    • @dicktonyboy
      @dicktonyboy Před 5 lety +1

      My pleasure.

    • @nestorwheelock1314
      @nestorwheelock1314 Před 4 lety +9

      This is exactly what I thought too! The ship annimation is what did it for me. Why has it taken so long for me to see that analogy used to explain ports, duh. Why have I not seen this used before?! Why didn't I think of that already?!! Awesome, definitely using it for staff training tomorrow.

    • @anonymousfan9703
      @anonymousfan9703 Před rokem

      ​@Tinkernut
      Not the tunneling ELON_MUSK boaring company does 😂😂😂😂
      Best line

  • @donporter8432
    @donporter8432 Před 5 lety +23

    FANTASTIC! I live in Thailand where nobody is available to help me figure out things like this, so I do my best to learn myself by Googling to death by chasing endless rabbits down multiple deadend rabbit holes! 😵 I've been fighting locally provided routers to set up port forwarding repeatedly over the years. Crappy at best instructions available, sometimes only in Thai! NOW I see tunnelling is all I need! My GOD man, THANKS! (Donation to come!)

  • @loray2k
    @loray2k Před 5 lety +10

    I love how you explain things, and the visuals that you use make it easier to understand. 👍🏻

  • @jppunnett
    @jppunnett Před 2 lety +40

    I like this intro to tunneling. Thank you.
    One thing important to mention is that you are not "bypassing" the firewall--you are using a port allowed by the firewall to use a service (like RDP in the demo) the firewall blocks.

    • @chaoluncai4300
      @chaoluncai4300 Před rokem +4

      this seems so trivial to overlook but yet is very crucial to understand, props for making this clear to neophytes like me!

    • @courier3567
      @courier3567 Před rokem +3

      you just described a bypass.

    • @nilpo
      @nilpo Před 10 měsíci +1

      Of course, if the firewall is blocking RDP, it's almost certainly also blocking SSH.

  • @sween187
    @sween187 Před 5 lety +579

    How to get fired from work.

    • @RAGHAVENDRASINGH17
      @RAGHAVENDRASINGH17 Před 5 lety +23

      Easy , stopped going then they will send letter saying u r fired 😂

    • @donzodabozo8503
      @donzodabozo8503 Před 5 lety +15

      @@RAGHAVENDRASINGH17 that's literally what happened to me

    • @erlandodk
      @erlandodk Před 4 lety +20

      Also how to get your home system pwned.. 3389 open to the public...😳

    • @shady4tv
      @shady4tv Před 4 lety +9

      @starscreamm
      Honestly probs a lot more secure than RDP since it's made by the OpenBSD guys (Security nuts).
      If you have to leave ssh open to the public configure something like fail2ban and set up ssh keys instead of passwords.
      But a good rule of thumb is to not leave any unused ports open.

    • @nestorwheelock1314
      @nestorwheelock1314 Před 4 lety +2

      @@shady4tv Another solution I favor is having no ports open on the host to begin with, openssh server listening only on the loopback, and the firewalled host initiating a reverse tunnel to a hardened bastion/jump server.

  • @eliavv
    @eliavv Před 3 lety +3

    By far, the best explanation on ssh tunneling I've seen!

  • @xiaoyi982
    @xiaoyi982 Před rokem

    I've read a couple of posts on ths subject, I was not satisfied wth the explanations and I kept looking. This is the final destination for me. Well done.

  • @VanBhardwaj
    @VanBhardwaj Před 4 lety +1

    You are the coolest person making things so simple and exciting. Wish I could see you making more videos around networking!

  • @realhusky
    @realhusky Před 5 lety +1

    This was great! Excellent explanation. Can't believe it took me this long to find your channel!

  • @michaelh7538
    @michaelh7538 Před 5 lety +100

    That is a lot of information to absorb. Thank you, I will have to go through it in super slow-mo.

    • @Synthels
      @Synthels Před 3 lety +8

      @Nobody Knows ohh we've got a smart guy here back off everyone

    • @digantchandel4152
      @digantchandel4152 Před rokem

      @@Synthels you are a special one aren't you

    • @Synthels
      @Synthels Před rokem

      @@digantchandel4152 he deleted the comment, can't you tell?

  • @AntonioIdeguchi
    @AntonioIdeguchi Před 5 lety +36

    You can't imagine how many people asks me about how to tunnel everyday. Will share it with everybody o/

  • @davidlee50
    @davidlee50 Před 5 lety +3

    Being lefthanded, it is kinda nice seeing boats and berthing explanations. thanks.

  • @NotNazuh
    @NotNazuh Před 2 lety

    Just watched your video on port forwarding, your explanations are so easy to understand.

  • @MirkWoot
    @MirkWoot Před 4 lety

    Awesome!, this has been great help to wrap my head around the final pieces of how this work (working with same things in school).

  • @emcsparkles
    @emcsparkles Před měsícem

    Thank you! Such a great, no BS explaination.

  • @T3chBeatz
    @T3chBeatz Před 4 lety +1

    Your videos in general are pretty "Darg-an-spectacular". Another amazing explanation! [*clapping hands*]

  • @joevrolijk
    @joevrolijk Před 2 lety

    Nice, Clear, to the point with some nerdy humor... First video i've seen from you, directly subbed... Thanks!

  • @wbjehwbejjhbejdhwe965
    @wbjehwbejjhbejdhwe965 Před 5 lety

    The better tutorial in video about SSH Tunnel and Sockets Proxy. Thank you very much!

  • @georgesmith3022
    @georgesmith3022 Před 5 lety +47

    if you want to connect to your home computer from work, you have to specify an external IP address (and not internal like the did). I know you know it, but you should mention it. Also you need to enable port forwarding on your adsl router, to forward the public ip, port, to local port, local ip

    • @yiannisserpico2646
      @yiannisserpico2646 Před 5 lety

      Nice explanation, sir!! Really appreciate that.

    • @Gregorydaerr1971
      @Gregorydaerr1971 Před 4 lety

      i may have to rewatch this because i think my question. is answered in last comments he makes.....

    • @markarca6360
      @markarca6360 Před 4 lety +2

      Don't forget DDNS. Remember, a standard residential DSL/cable/fiber Internet connection uses a dynamic IP address (unlike SME or enterprise Internet, which always have a static IP address).

    • @bunny.bunbob
      @bunny.bunbob Před 9 měsíci

      thank you. stuff like that is really confusing if youre new to a concept

  • @meryemeaitahmed-brahim3082
    @meryemeaitahmed-brahim3082 Před 6 měsíci

    You make it easier to understand, thank you!

  • @kenwarren2574
    @kenwarren2574 Před 2 lety

    Great video. Excellent instructions. Very clear. Thanks

  • @FlameSoulis
    @FlameSoulis Před 5 lety +6

    This is what I do with my own server used for VR work. The administration panel is on a non-standard port and the only protection is a basic username/password. To really secure it, the port is not exposed to the internet and has no username/password requirement, meaning a local connection is needed, which is what is normally tunneled.
    A REALLY clever trick is to use a similar idea with say PHPMyAdmin. It has an access rule to ONLY allow the server itself to access it. This forces the entry to be from a tunneled SSH session.

  • @jahc00n89
    @jahc00n89 Před 3 lety

    I knew what ssh was this whole time I just never knew executing it was easy asf. U deserve my sub

  • @alekseikonstantinov3868

    U r the best :) Many thx. The explanation is step by step and quite easy to understand. Well done!

  • @crocodiledondii
    @crocodiledondii Před 4 lety

    Cool stuff! Thanks for an educational and informative presentation!

  • @mathewsjoy8464
    @mathewsjoy8464 Před 2 lety

    I have no use for any of this but defiantly good to know and widened my knowledge!

  • @zahidshakeel1142
    @zahidshakeel1142 Před 4 lety

    you are a life save, God bless you, Thankyou so much

  • @yeppa31
    @yeppa31 Před 2 lety

    its the best explanation of ssh tunneling. Thanks a lot!

  • @sokpisethlalalanno
    @sokpisethlalalanno Před 3 lety

    i don't know but i really like your videos man , so clean , good job

  • @hridayjain5888
    @hridayjain5888 Před 4 lety +1

    bruh you deserve more recognition

  • @mimikatz
    @mimikatz Před 4 lety +1

    Thanks, I am doing my OSCP at the moment and everything, even the buffer overflows have been totally fine, but the abstractness of SSH port forwarding (reverse specifically) has me baffled! This video has helped

  • @Chief-CO
    @Chief-CO Před 3 lety

    Thanks for the video. I literally only heard SSH and nothing about what it was. Im going to be using this.

  • @fuba44
    @fuba44 Před 5 lety

    This was a great video, thank you very much!

  • @ajaykumaraluvala
    @ajaykumaraluvala Před 3 lety

    Simple explanation...working perfectly

  • @unskeptable
    @unskeptable Před 5 lety

    Great information to get started Thanks!

  • @WaqasKhan411
    @WaqasKhan411 Před 4 lety

    Thank you for uploading such a good video and explanation of ssh tunnels

  • @aaronbaldwin4900
    @aaronbaldwin4900 Před 3 lety

    this is a great explanation. Thanks, man

  • @johnswilley6764
    @johnswilley6764 Před 2 lety

    I love it! And I subscribed. Best wishes Sir!

  • @xila8861
    @xila8861 Před měsícem

    wow man, this is a really great video.

  • @conicbrand5931
    @conicbrand5931 Před 4 lety +1

    thank you sooo much for this, and for that in port forwarding Mr Tinkernut

  • @ottisseaborn
    @ottisseaborn Před 4 lety

    Great stuff.. ive been wondering how to tunnel outside of a secure network. Im going to try this at work when i get a chance. Ofcourse with permission!

  • @meronmeresa8583
    @meronmeresa8583 Před 2 lety

    I'm subbing just because you were singing "teach me how to tunnel". I didn't think I would be laughing before the 1 minute mark.

  • @Hakeeeeeeem
    @Hakeeeeeeem Před 4 lety +3

    This video is beautiful and i want to cry, i love you dude, please keep your videos coming you are a true plus to humanity

  • @anonymous6666
    @anonymous6666 Před 2 lety

    simple and extremely helpful. thx

  • @atharva741
    @atharva741 Před 5 lety +2

    i JUST LOVED THIS VIDEO PLEASE DO MORE NETWORK VIDEOS

  • @afterhours39
    @afterhours39 Před 5 lety

    Thanks for this video. It answered a number of questions I've had about SSH. I'd subscribe, but I'm already a subscriber.... :-)

  • @bergolho
    @bergolho Před 5 lety +1

    Nice tips dude !

  • @Amit-cc6db
    @Amit-cc6db Před 4 lety

    I like the way u teach ....keep on buddy

  • @markarca6360
    @markarca6360 Před 4 lety +3

    Examples of protocols that use SSH tunneling:
    SFTP (Secure FTP; also uses port 22), and
    SCP (Secure Copy Protocol). Actually you can tunnel virtually any transfer protocol over SSH.

  • @attabari9156
    @attabari9156 Před 4 lety

    Very well explained...thanks

  • @shavebunny
    @shavebunny Před 3 lety

    Thank you sir, now I get it.

  • @ramstime6846
    @ramstime6846 Před 4 lety

    amazing explanation with examples and animation :-)

  • @vladislavkaras491
    @vladislavkaras491 Před 9 měsíci

    Very great info!
    Thanks!

  • @fazlulfazal9508
    @fazlulfazal9508 Před 4 lety

    I love you, BRO. Your video helped.

  • @webtrafficking
    @webtrafficking Před 5 lety

    great, interesting and with expertise. thanks

  • @parleckius
    @parleckius Před 5 lety +6

    Very nice explaining

    • @seshurao6652
      @seshurao6652 Před 5 lety +1

      Sir that's very good . Good Explanation with good Example. I loved it

  • @Everthow1984
    @Everthow1984 Před 3 lety

    The best explanation Ever!!!!

  • @hamid.naeemabadi
    @hamid.naeemabadi Před 2 lety

    This is GREAT. Thank You.

  • @KowboyUSA
    @KowboyUSA Před 5 lety +1

    This is useful information, indeed.

  • @patrickjones9474
    @patrickjones9474 Před 2 lety

    Very good explanation

  • @CarlosHasAIdea
    @CarlosHasAIdea Před 4 lety

    love your videos!!

  • @IllevensKO
    @IllevensKO Před 4 lety

    as soon as I saw the seaport graphics I got nostalgic, exited the video and went browsing 90s strategy games

  • @_mv7_
    @_mv7_ Před měsícem

    Thank You So Much ❤

  • @ethicalhackingshell1865

    very nice explanation.

  • @pierrenovell7135
    @pierrenovell7135 Před 3 lety

    brilliant explanation

  • @dillon4321
    @dillon4321 Před 4 lety

    Great guide!

  • @Galactic.Fornex
    @Galactic.Fornex Před 2 lety

    Thank you so much !!!!

  • @TimeLords910
    @TimeLords910 Před 3 lety

    ssh has made me intreinged i've been looking at different vids about it and your's was easier to understand

  • @trail000
    @trail000 Před 4 lety

    Awesome representation

  • @josemfacuna6754
    @josemfacuna6754 Před 4 lety

    That was great! Thanks

  • @iaroslavdavydiak6439
    @iaroslavdavydiak6439 Před 2 lety

    Just awesome👍

  • @ronkierstead
    @ronkierstead Před rokem

    Brillant video. I was able to configure the x11 "xrdp" server installed on my Raspberrypi 4 to be accessible by my work computer over Windohs RDP client. Thank you! FWIW I found that Git-scm client for windows to be awesome as a SSH and bash client on windows.

  • @doubletoned5772
    @doubletoned5772 Před 2 lety

    You are a gem!

  • @nikalleyne77
    @nikalleyne77 Před 3 lety

    Good stuff champ!

  • @samhoward8909
    @samhoward8909 Před 2 lety

    Awesome explanations. I liked reversed ssh the most. When doing a reverse ash to say the work computer, will it time out or stay that way long enough for you to get home and access it?

  • @sagargoyal8746
    @sagargoyal8746 Před 2 lety

    Simply Awesome

  • @the_master_coder2655
    @the_master_coder2655 Před 5 lety

    great video as always! cant believe those 10 people who disliked smh .-.

  • @LaneLarson
    @LaneLarson Před 4 lety

    Great video.

  • @samueltorres2485
    @samueltorres2485 Před 4 lety

    Your intro song is coooool! :)

  • @rfaikbal
    @rfaikbal Před 5 lety +1

    wow! You have just made me realized how vulnerable Internet is.

    • @UmVtCg
      @UmVtCg Před 4 lety

      It's not actually

  • @pierodicarlodallabona
    @pierodicarlodallabona Před 3 měsíci

    Thanks bro

  • @karimkazia
    @karimkazia Před 4 lety

    awesome thank you.

  • @andreasalme5731
    @andreasalme5731 Před 4 lety

    Great stuff

  • @dmac5678
    @dmac5678 Před 4 lety

    I have a question. I bring my macbook to work from home when it’s slow, I also run a windows 10 machine at home. While at work Netflix is blocked. Is it possible to ssh tunnel to my home machine (while on my MacBook at works WiFi) and bring up a browser session from home?

  • @VinnyMartello
    @VinnyMartello Před 3 lety

    This is all very new to me so I’m enjoying being exposed to new information.

  • @gwgux
    @gwgux Před 4 lety

    SSH Tunneling is great. I don't recommend doing it with a work and home PC, but if you put up your own webserver in the cloud for work or for you own personal website, it's a good way to manage it remotely and transfer files. You can also put up an SSH proxy server that only lets you connect with a certificate and key pair and then tunnel another SSH session through that proxy to the webserver that uses a different authentication method for multi-factor authentication and more than one layer of protection for it. Then you set the the webserver to only allow SSH connections in from the proxy.

  • @cokomi61
    @cokomi61 Před 5 lety

    Well Sayid, Thx

  • @user-xj2kj1jv8l
    @user-xj2kj1jv8l Před 5 měsíci

    me da ganas de quitarme lentamente la existencia cada vez que veo este video
    ATTE Yoel Pérez Alted

  • @FF7824
    @FF7824 Před rokem

    Great!!

  • @brandon_wallace
    @brandon_wallace Před 2 lety

    Nice!

  • @huycong5542
    @huycong5542 Před 4 lety

    I have a question. When you use Dynamic Tunelling to browse, is the computer browsing the web through the raspberry pi or is it by itself?

  • @jagataai
    @jagataai Před 2 lety

    Very good explanation.
    Just one thing I wish to ask is, if network connection is interrupted what will happen to the ssh tunnel?
    Whether it has feature to reestablish automatically just as normal LAN or WiFi link?

  • @seventhspirit
    @seventhspirit Před 3 lety

    Very good and clear explaination :)
    You have got like you have got sub and "now we're cooking :D"

  • @cmines73
    @cmines73 Před 5 lety

    Could you also use SSH if there is not an issue of a port being blocked? Or would that kind of defeat the purpose.

  • @just_some_bigfoot_hacking_you

    Should talk about port security. Shutting down closed ports. Some "closed" ports aren't really closed as it says, you can still listen and establish connection.

  • @NAHPyboy
    @NAHPyboy Před 4 lety

    Is there a way to mount/map network drive from a computer at my parent's house to my apartment? I wanna be able to drag and drop files as if the drive is connected locally TIA

  • @joseecheverria9946
    @joseecheverria9946 Před rokem

    Good video!
    I have one question
    In the remote desktop can I use the server ip address instead of localhost? I am trying using the ip address and it does not work
    How the client (remote desktop) knows that the localhost is the ip address configured in the SSH -L port:ipaddress ?

  • @v1nAyA
    @v1nAyA Před 4 lety +1

    I play BF1 and BF5 mostly with my friend. I get ping around 50ms for Singapore server whereas my friend gets 250+ ms which makes him unplayable though his connection is the same speed as mine. And we are on different ISPs too. So, is there any way that he can route his internet connection via mine ??? Because we both stay nearby like 7kms away. So, my taught was since I'm getting just 50ms, he would be like say 70ms if routed via my pc... Can I do it using TeamViewer or OpenVPN ??? Thanks...

  • @ownplz5632
    @ownplz5632 Před 5 lety +74

    I would highly suggest you do not try to connect to your home computer in any capacity from an enterprise network. You will set off all types of red flags. This is useful in a home setting but I consider this NSFW because you could be punished and open your company systems vulnerable.

    • @Tinkernut
      @Tinkernut  Před 5 lety +28

      I agree with all of that. These were just hypothetical examples to explain a point.

    • @scienceblossom6197
      @scienceblossom6197 Před 5 lety +23

      @@Tinkernut Thanks I love it when someone teaches dangerous things

    • @BreadWinner330
      @BreadWinner330 Před 4 lety +1

      Some folks like me use their own computers at work as well

    • @techworld7716
      @techworld7716 Před 4 lety +2

      @@Tinkernut This is to be taken as learning security and ways how security can be beaten, it will help to strengthen technical controls.

    • @nestorwheelock1314
      @nestorwheelock1314 Před 4 lety +16

      Or you could tunnel ssh through TLS on port 443 and see if they notice. If they do you should explain that this problem would be prevented if they implemented a whitelist firewall policy for outbound traffic. And then you should ask for a raise. Maybe times are different now but when I worked for the corporation they never noticed my tunnel coming from my cubicle, or noticed my need for a raise.

  • @SuperBoi45
    @SuperBoi45 Před 2 lety

    Thx