SSH Tunneling Explained

Sdílet
Vložit
  • čas přidán 3. 07. 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 • 305

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

    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

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

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

  • @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!)

  • @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 4 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?

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

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

  • @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 11 měsíci +1

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

  • @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.

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

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

  • @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!

  • @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 2 měsíci

    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*]

  • @wbjehwbejjhbejdhwe965
    @wbjehwbejjhbejdhwe965 Před 5 lety

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

  • @NotNazuh
    @NotNazuh Před 2 lety

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

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

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

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

    You make it easier to understand, thank you!

  • @kenwarren2574
    @kenwarren2574 Před 2 lety

    Great video. Excellent instructions. Very clear. Thanks

  • @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

  • @gangstaberry2496
    @gangstaberry2496 Před 13 dny

    Really good summary, thank you

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

    bruh you deserve more recognition

  • @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!

  • @yeppa31
    @yeppa31 Před 2 lety

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

  • @crocodiledondii
    @crocodiledondii Před 4 lety

    Cool stuff! Thanks for an educational and informative presentation!

  • @zahidshakeel1142
    @zahidshakeel1142 Před 4 lety

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

  • @ajaykumaraluvala
    @ajaykumaraluvala Před 3 lety

    Simple explanation...working perfectly

  • @fuba44
    @fuba44 Před 5 lety

    This was a great video, thank you very much!

  • @aaronbaldwin4900
    @aaronbaldwin4900 Před 3 lety

    this is a great explanation. Thanks, man

  • @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 10 měsíci

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

  • @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.

  • @sokpisethlalalanno
    @sokpisethlalalanno Před 3 lety

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

  • @unskeptable
    @unskeptable Před 5 lety

    Great information to get started Thanks!

  • @xila8861
    @xila8861 Před 2 měsíci

    wow man, this is a really great video.

  • @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

  • @WaqasKhan411
    @WaqasKhan411 Před 4 lety

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

  • @alekseikonstantinov3868

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

  • @Everthow1984
    @Everthow1984 Před 3 lety

    The best explanation Ever!!!!

  • @mathewsjoy8464
    @mathewsjoy8464 Před 2 lety

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

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

    Nice tips dude !

  • @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.

  • @johnswilley6764
    @johnswilley6764 Před 3 lety

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

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

    Very great info!
    Thanks!

  • @iaroslavdavydiak6439
    @iaroslavdavydiak6439 Před 2 lety

    Just awesome👍

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

    This is GREAT. Thank You.

  • @anonymous6666
    @anonymous6666 Před 2 lety

    simple and extremely helpful. thx

  • @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!

  • @ramstime6846
    @ramstime6846 Před 4 lety

    amazing explanation with examples and animation :-)

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

    i JUST LOVED THIS VIDEO PLEASE DO MORE NETWORK VIDEOS

  • @_mv7_
    @_mv7_ Před 2 měsíci

    Thank You So Much ❤

  • @attabari9156
    @attabari9156 Před 4 lety

    Very well explained...thanks

  • @fazlulfazal9508
    @fazlulfazal9508 Před 4 lety

    I love you, BRO. Your video helped.

  • @CarlosHasAIdea
    @CarlosHasAIdea Před 4 lety

    love your videos!!

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

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

  • @doubletoned5772
    @doubletoned5772 Před 2 lety

    You are a gem!

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

    Thank you so much !!!!

  • @shavebunny
    @shavebunny Před 3 lety

    Thank you sir, now I get it.

  • @pierrenovell7135
    @pierrenovell7135 Před 3 lety

    brilliant explanation

  • @dillon4321
    @dillon4321 Před 4 lety

    Great guide!

  • @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

  • @patrickjones9474
    @patrickjones9474 Před 3 lety

    Very good explanation

  • @sagargoyal8746
    @sagargoyal8746 Před 2 lety

    Simply Awesome

  • @webtrafficking
    @webtrafficking Před 5 lety

    great, interesting and with expertise. thanks

  • @trail000
    @trail000 Před 4 lety

    Awesome representation

  • @josemfacuna6754
    @josemfacuna6754 Před 4 lety

    That was great! Thanks

  • @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.... :-)

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

    This is useful information, indeed.

  • @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

  • @ethicalhackingshell1865

    very nice explanation.

  • @nikalleyne77
    @nikalleyne77 Před 3 lety

    Good stuff champ!

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

    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.

  • @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.

  • @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/

  • @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

  • @LaneLarson
    @LaneLarson Před 4 lety

    Great video.

  • @brandon_wallace
    @brandon_wallace Před 2 lety

    Nice!

  • @FF7824
    @FF7824 Před rokem

    Great!!

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

    Thanks bro

  • @andreasalme5731
    @andreasalme5731 Před 4 lety

    Great stuff

  • @samueltorres2485
    @samueltorres2485 Před 4 lety

    Your intro song is coooool! :)

  • @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.

  • @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.

  • @karimkazia
    @karimkazia Před 4 lety

    awesome thank you.

  • @the_master_coder2655
    @the_master_coder2655 Před 5 lety

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

  • @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

  • @cokomi61
    @cokomi61 Před 5 lety

    Well Sayid, Thx

  • @reddunkey9267
    @reddunkey9267 Před 4 lety

    Usefull

  • @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

  • @clemf3785
    @clemf3785 Před 4 lety

    merci !

  • @SuperBoi45
    @SuperBoi45 Před 2 lety

    Thx

  • @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.

  • @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"

  • @hj45lp
    @hj45lp Před 5 lety

    Combine reverse tunnel with “touch” of a file on some web server. If you have access to that server, you can touch the file, the machine behind variable IP and firewall queries that file ever so often and establishes the reverse tunnel only when requested. You can then ssh into that machine via reverse tunnel.

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

    this is a pretty good explanation but it would be easier to understand if it were a bit more comprehensive in explaining which port is accessed by which device and do i need to specify a port forwarding setting on my home router...

  • @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.

  • @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.

  • @VinnyMartello
    @VinnyMartello Před 3 lety

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

  • @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?

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

    Nice job!
    But I have to ask you something:
    In the video where you explained how to host Wordpress on the Raspberry Pi you talked about SSH Tunneling and how it is more secure than simple port-forwarding.
    Could you show how to make the website of that video aviable on the Internet with a top-level domain and SSH Tunneling (or in some other way without putting at risk your home network)?
    That would be very helpful!

    • @brandonhirdler
      @brandonhirdler Před 4 lety

      Alessandro Zanzi the best thing you can do is read up on how to secure your network via firewall and keep every program you have up to date with the latest patch.

  • @rogerward0
    @rogerward0 Před 3 lety

    mind=blown

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

    Had to listen to Teach Me How to Dougie after this.