NAT - SNAT, DNAT, PAT & Port Forwarding

Sdílet
Vložit
  • čas přidán 2. 06. 2024
  • Please support my channel by becoming a member. Your support is much appreciated.
    / sunnyclassroom
    In this video, I will talk about how classic private TCP/IP network was set up for the first two decades of the Internet. Why it did not work? What is network address translation, or NAT? Why do we need it?
    For most parts, I will talk about four different types of NAT: Static NAT, Dynamic NAT, PAT, and Port Forwarding. I will discuss each in detail.
    Playlist link: IPv4 Basics: • Tricks to five classes...
    This is my education channel. My topics cover networking, security, programming, data structure, algorithm, programming and other computer-related materials.
    Please subscribe my channel.
    Please leave comments or questions.
    Many thanks,
    Sunny Classroom

Komentáře • 285

  • @IreshDissanayakaM
    @IreshDissanayakaM Před 4 lety +128

    Everything at high level in just 9 minutes yet more than enough clarity and slowness to understand. Everything on point. This is awesome! Thank you Sunny.

  • @vadicheg
    @vadicheg Před 3 lety +29

    wow man i watched 2 other videos had few open questions, watched your 9 minute video and everything is clear now. You are talented teacher

    • @na93r
      @na93r Před 3 lety

      @Sam Darwin this is a spam

  • @asyed1000
    @asyed1000 Před 3 lety +13

    I love how Sunny explains the brief history behind technology in his videos, since at times it is a crucial part in the learning process to understand how the technology came to be and why we need it.

  • @biosah
    @biosah Před 2 lety +3

    Simplicity! I love how you slowly and patiently explain complex subjects. Thank you🙏

  • @lounescharef2441
    @lounescharef2441 Před 4 lety +5

    Thank you sunny, i have been in the field for over 18 years, no one made the concepts so clear for me, You're the best! I like your chenglish toooooo.

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

    Excellent presentation. It is very difficult to find a similar presentation which explained the differences between the 4 concepts as clearly and as easily.

  • @AN1MATEK
    @AN1MATEK Před 3 lety +1

    Sunny man you always come up when I want to learn something new about networking. Easy, clear but high quality!

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

    EXCELLENT VIDEO!! This was the explanation that I was missing 🙌🙌🙌

  • @roberth7830
    @roberth7830 Před 2 lety +1

    Currently learning network services and DNS. So glad to have found your channel. You provide such clear and logical explanations with helpful animations. Thank you for sharing! Subscribed!

  • @londhe99
    @londhe99 Před 5 lety +5

    the music at the end is epic ! it gives me recall of life in year 1980s and that time TV shows have this type of music. any way the content is best and crystal clear. good work.

    • @sunnyclassroom24
      @sunnyclassroom24  Před 5 lety

      Thanks a lot for your nice comment! I appreciate your encouragement.

  • @gautamr366
    @gautamr366 Před 4 lety +13

    Simply brilliant explanation! Your channel is a boon for anyone looking for good CS fundamentals. Keep it up and hope you can publish topics on Core OS concepts as well?

  • @virendrabhati6685
    @virendrabhati6685 Před 5 lety

    This was a simplest understanding of NAT and type. Examples are very simple and user friendly at each type of NAT describe by Sunny.

  • @abdullahshaheed4276
    @abdullahshaheed4276 Před 2 lety

    Thank you so much Sunny, I always come back to your lessons. It's my favorite reference.

  • @zidanetribal2343
    @zidanetribal2343 Před 2 lety +2

    Awesome, Sunny is my to go resource whenever I need to refresh concepts in networking, security and basically IT! Thanks again Sunny for the topnotch content :)

  • @bxldragonguy
    @bxldragonguy Před 4 lety +7

    Credits to you fir explaining it in such a clear and easy understanding way, thanks!

  • @syednabeelanwar46
    @syednabeelanwar46 Před 3 lety

    Thank you sunny , i have gone through all your videos they are well explanatory . you are the Teacher of the century

  • @parischarlievij4904
    @parischarlievij4904 Před 2 lety

    Thank you Sunny! For putting a number of topics into perspective.

  • @PT-ww9nc
    @PT-ww9nc Před 2 měsíci

    Thank you Sunny, I have been watching many CZcams videos but they do not explained this in such a logical and simple way.

  • @rufusmurphy9990
    @rufusmurphy9990 Před 3 lety

    A really good explanation, well paced and clear. Thank you

  • @18ShotErnie
    @18ShotErnie Před 3 lety

    WE LOVE YOU SUNN!!!! THANKS FOR THIS... AND PLENTY OTHER VIDEOS. I REALLY VALUE THE THINGS YOUVE TAUGHT ME

  • @kooolabo
    @kooolabo Před 2 lety

    Thank you Sunny! clear explanation! To the point! no time wasting.

  • @DG-zu4iy
    @DG-zu4iy Před 2 lety

    That moment when you search on youtube and cross your fingers a video with Sunny shows up in the results feed- BINGO! oh Thank Jesus....press PLAY! 😂

  • @taddy666
    @taddy666 Před 3 lety

    This is awesome! Thanks for the precision and detail, Sunny.

  • @lltagged
    @lltagged Před 2 lety

    Quick, concise and very clear. Thanks!

  • @rajivraghu9857
    @rajivraghu9857 Před 5 lety +7

    Thanks Sunny.. you explain stuffs so well. Wish I found these lectures during my engineering..😃

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

    Simple and easy to understand... thank you

  • @atvid2983
    @atvid2983 Před rokem

    Thank you sir, the pace and simplicity with which you explain concepts is commendable, when In doubt or want to learn about a subject, I search with Sunny Classroom #####, #### stands for whatever network related concept I am looking for, simple and Brilliant

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

    Awesome! Each concept clearly explained in a structured way with clearly illustrated charts. What more can one ask for? Great job!

  • @gustavolautenschlaeger9195

    Wonderful explanation and illustration. Thanks so much!

  • @premnathkangatharan2193

    Thanks for explaining the differences in the different types of NAT... i was a bit curious how the external unit would know where my request came from, but i think it is by using the PAT by default.

  • @AnshumanKumar007
    @AnshumanKumar007 Před rokem

    it's quite interesting how something really helpful and seemingly innoccous has prevented transition to IPV6.

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

    Thank you for the clear and concise explanation as usual. Your videos taught me a lot!

  • @elisdamirchi1447
    @elisdamirchi1447 Před 4 lety +4

    I never write comments, but here it goes:
    Networking topics will be part of my final exam in two weeks and honestly your videos have been such a life saver.
    I hope you know you're changing lives with your content! Thank you Sir!

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

    Great video. It is very clear and detailed. Much easier to understand. Thank you Sunny.

  • @sanjayprima
    @sanjayprima Před 2 lety

    Excellent . No Other video can be better than to explain NAT-PAT

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

    I loved this video. Very high quality explanation.

  • @saidaitbrahim2968
    @saidaitbrahim2968 Před 2 lety

    Wonderful explaining my teacher. Thank you so much

  • @fatpong6173
    @fatpong6173 Před 2 lety

    Thank you Sunny, your videos helped me passed a lot of exams

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

    Very Nice Explanation. Watched Many. only now all confusions are cleared

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

    Very clear and concise explanation. Thank you Sir!

  • @FredoCorleone
    @FredoCorleone Před 5 lety

    Best explantion ever. Sunny is better than Google's IT course in exaplaining NAT, no doubt.

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

    Great explanation. Thanks a lot!

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

    Awesome explanation Sunny, Subscribed!

  • @quisjourney3688
    @quisjourney3688 Před 8 měsíci

    thank you very much for the videos, so clear, so easy to understand. Hats off 🤩

  • @dudinhtran3642
    @dudinhtran3642 Před 3 lety +1

    Very useful video, easy to understand and remember. Great job! Many thanks!

  • @MRSa-tw6ut
    @MRSa-tw6ut Před 5 lety +1

    Very informative, many thanks.

  • @Helkenberg
    @Helkenberg Před rokem

    Excellent video. Extremelyt Informative. Subscribed!

  • @tiruinternationalpublicspe4932

    Awesome Video Sunny , Well Explained !!!

  • @devinwick5056
    @devinwick5056 Před 2 lety

    At last I understood. Thank you sunny!

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

    Hi Sunny Love ur teaching videoes. Thanks for sharing

  • @thepawsupply1501
    @thepawsupply1501 Před 3 lety

    Very good Sunny! Thanks for making this video

  • @pattygq
    @pattygq Před 5 měsíci

    Excellent content as always. Thanks Sunny!

  • @AntonSamokat
    @AntonSamokat Před 2 lety

    Very good presentation! Thanks.

  • @Mastagon
    @Mastagon Před 3 lety +1

    I can't say enough good things about Sunny Classroom.

  • @Fearless......
    @Fearless...... Před 3 lety +1

    Give this man the nobel peace prize for teaching !

  • @StuffOffYouStuff
    @StuffOffYouStuff Před 3 lety +1

    Again, the best explained video I've seen on this. Your videos are excellent. I needed a refresh. I do have a couple of clarifying questions about this. 1) Dynamic NAT - what happens if all the public IP addresses are used up? Are internal hosts denied access to the internet then? 2) PAT - If an internal host sends an outgoing packet on port 80, but the gateway then translates that to port 8001, how does the web server on the internet know you are trying to communicate with it on port 80? Thanks, Sunny.

    • @juanpasht
      @juanpasht Před 3 lety +1

      Here is what I think: 1) Yes, they must be denied access until an available public IP comes out; and if not using PAT. 2) The port 80 of the internal host is NATed. The web server doesn't care about that port but the one that comes by 8001 where it will reply the request. The router-gateway receives by 8001 and translates to 80 to the internal host. The web server will never know you tried by the port 80, and doesn't matter.

  •  Před 3 lety

    Excellent explanation. Thank you.

  • @ashkanizadpanah9761
    @ashkanizadpanah9761 Před 3 lety

    Thanks Mr. for your great videos.

  • @grott0
    @grott0 Před rokem

    Thank you! Very good explanation.

  • @mokodo_
    @mokodo_ Před rokem

    Your videos are amazing, thank you

  • @luthermaria1021
    @luthermaria1021 Před 2 lety

    You deserve more subscribers, this is awesome

  • @fahadoutlook1241
    @fahadoutlook1241 Před 2 lety

    you are wonderful teacher.

  • @michaeleaster1815
    @michaeleaster1815 Před 4 lety +7

    Great video! Thank you... Though I believe 7:25 should be "is 16-bit value", not "16 digit value" ?

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

    Sunny, simple and excelent explication. Thanks

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

    Thats a Beautiful Explanation with some Graphics to explain

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

      Glad it was helpful!

    • @althafahmed5757
      @althafahmed5757 Před 4 lety

      @@sunnyclassroom24 can you explain dmvpn the same way along with configuration? Is there a video tutorial already for dmvpn?

  • @letdo3449
    @letdo3449 Před 2 lety

    very great explainations about this 🤗🤗🤗

  • @ekonialancewanariu9049

    Short and sharp. I learnt alot within a short time.
    A question here please.
    If I'm using DNAT to connect, should I forget about PNAT? Or can I use them both simultaneously?

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

    Hi Sunny, thanks for the video. On the PAT explanation, why a common PORT of 80 was chosen instead of a random port number also known as ephemeral port? thank you

  • @te4683
    @te4683 Před rokem

    Love youre videos. Thx for sharing

  • @vinitshandilya
    @vinitshandilya Před 3 lety

    How amazing this explanation was!! 😀

  • @simonzhou8416
    @simonzhou8416 Před 3 lety +1

    Very clear, better than my expensive cissp textbook!

  • @mr.b5678
    @mr.b5678 Před 2 lety

    Best on the web explanation. thanks bud

  • @fahad_hassan_92
    @fahad_hassan_92 Před 3 lety

    Great explanation!

  • @veronicamv3449
    @veronicamv3449 Před 4 lety

    Thanks for the explanation! your Videos are great!

    • @sunnyclassroom24
      @sunnyclassroom24  Před 4 lety

      You are welcome! Thank you for your time! Check out my other videos please!

  • @alexmook6786
    @alexmook6786 Před 2 lety

    Awesome explanations!!!!!!

  • @JoshuaNartey
    @JoshuaNartey Před 5 lety +5

    A little confused here
    Read a book where SNAT means Source Network Address Translation and DNAT means Destination Network Address Translation. The explanation you gave for PAT is what was given for DNAT.

  • @FahedAhmed1
    @FahedAhmed1 Před 4 lety

    this is great effort .. keep up the great work.

  • @clarkarussell
    @clarkarussell Před 4 lety

    Great content. Thank you.

  • @lukevandam7610
    @lukevandam7610 Před rokem

    Love you sunny. such helpful vidz

  • @tomcat2512
    @tomcat2512 Před rokem

    Thank you for this interesting video. It enhances my understanding of NAT. I realized that this video was made quite some time and CGNAT is not yet widely used back then. With the advent of the use of CGNAT by most ISP, it basically deactivates the use of port forwarding in a private network. Do you have a way around this? I would love to see another video on this topic. Thank you!

  • @srinivasprusty
    @srinivasprusty Před 5 lety

    all your videos are excellent

  • @tehrigarhwaluttarakhand4766

    Nice explanation

  • @sheffin007
    @sheffin007 Před 2 lety

    Well explained!

  • @derekwang9758
    @derekwang9758 Před 3 lety

    Very clear video!

  • @shaktishakti991
    @shaktishakti991 Před 2 lety

    Great Video sir thanks

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

    thank you Sunny. Very good video.

  • @saltech2024
    @saltech2024 Před 3 lety +1

    Awesome!!
    You are so amazing tutor

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

    Very well explaination, thanks

  • @0Alps0
    @0Alps0 Před 2 lety

    Very clear, many thanks~~

  • @vladislavkaras491
    @vladislavkaras491 Před 2 lety

    Really great video!

  • @emranemran29
    @emranemran29 Před 6 lety +1

    Mavaaa nuvu super

  • @boblewis1287
    @boblewis1287 Před 2 lety

    Very good Sunny

  • @lloll72
    @lloll72 Před 2 lety

    thank you for your help!!!!

  • @fahadoutlook1241
    @fahadoutlook1241 Před 2 lety

    thanks a lot brother sunny.

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

    Very clear, thank you

  • @Obsi995
    @Obsi995 Před 4 lety

    Thank you Sunny!

  • @realtebo
    @realtebo Před 2 lety

    Really good video. If I understand well, what at my home I am doing in my router is only a simple port forwarding.
    SNAT and DNAT are used at ISP level?
    Or every home router is using ? and if yes,. .. can yuo explain me how?

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

    Thank you very much. Great explanation. Cold you please help us with QOS concept

  • @ctsdeveloperx9248
    @ctsdeveloperx9248 Před 3 lety +1

    Great video! Thanks!

  • @ahmedalazazy
    @ahmedalazazy Před 3 lety

    شكرا يا هندسة :)