Proxy vs. Reverse Proxy (Explained by Example)

Ғылым және технология

Get my Fundamentals of Networking for Effective Backends udemy course Head to network.husseinnasser.com (link redirects to udemy with coupon)
In this episode we explain the difference between a Proxy (Forward proxy) and Reverse Proxy by example, and list all the benefits of each server.
Chapters
0:00 Intro
00:20 Proxy Explained
02:25 Proxy Benefits
04:54 Reverse Proxy Explained
06:49 Reverse Proxy Benefits
Online diagram tool used in this video: Http://www.gliffy.com
Support my work on PayPal
bit.ly/33ENps4
Become a Member on KZread
/ @hnasr
🧑‍🏫 Courses I Teach
husseinnasser.com/courses
🏭 Backend Engineering Videos in Order
backend.husseinnasser.com
💾 Database Engineering Videos
• Database Engineering
🎙️Listen to the Backend Engineering Podcast
husseinnasser.com/podcast
Gears and tools used on the Channel (affiliates)
🖼️ Slides and Thumbnail Design
Canva
partner.canva.com/c/2766475/6...
🎙️ Mic Gear
Shure SM7B Cardioid Dynamic Microphone
amzn.to/3o1NiBi
Cloudlifter
amzn.to/2RAeyLo
XLR cables
amzn.to/3tvMJRu
Focusrite Audio Interface
amzn.to/3f2vjGY
📷 Camera Gear
Canon M50 Mark II
amzn.to/3o2ed0c
Micro HDMI to HDMI
amzn.to/3uwCxK3
Video capture card
amzn.to/3f34pyD
AC Wall for constant power
amzn.to/3eueoxP
Stay Awesome,
Hussein

Пікірлер: 415

  • @hnasr
    @hnasr2 жыл бұрын

    Get my Fundamentals of Networking for Effective Backends udemy course Head to network.husseinnasser.com (link redirects to udemy with coupon)

  • @kevinkkirimii
    @kevinkkirimii3 жыл бұрын

    A proxy allows clients to communicate (connect) with servers anonymously while a reverse proxy allows servers to communicate (serve) with clients anonymously. That's my one liner

  • @ManuelInfoSec

    @ManuelInfoSec

    2 жыл бұрын

    11 mins in one word. I stayed longer because of the benefits though.

  • @anveshreddy2150

    @anveshreddy2150

    2 жыл бұрын

    Not only anonymous there are much things you can do with proxy

  • @Ham-pb7pb

    @Ham-pb7pb

    2 жыл бұрын

    @@anveshreddy2150 What else can you do with a proxy?

  • @dartz7137

    @dartz7137

    2 жыл бұрын

    @@Ham-pb7pb Caching?

  • @proscience1226

    @proscience1226

    2 жыл бұрын

    @@Ham-pb7pb Load Balancing, Caching, Security because you can hide a lot of your servers who works together behind the reverse proxy, ...

  • @dmitriy_dokshin
    @dmitriy_dokshin3 жыл бұрын

    For those trying to understand the difference, a quote from the video: "In reverse proxy the client doesn't know which server it is connecting to (balancer). In proxy the server doesn't know which client it is connecting from (VPN)."

  • @hayounglee5929

    @hayounglee5929

    3 жыл бұрын

    Great explanation! Thanks!

  • @himanshukushwah5211

    @himanshukushwah5211

    3 жыл бұрын

    Thanks Dimitri

  • @ragavnitinpande5612

    @ragavnitinpande5612

    3 жыл бұрын

    Bro, your 5 magical line explained everything

  • @krishm5116

    @krishm5116

    3 жыл бұрын

    Trying to understand, In both the cases, Is the end-response is bypassing Reverse-Proxy/Load-balancer and directly sending it to Client? My understanding is, in both the cases END servers doesn't know FIRST client. I mean, Reverse-Proxy/Load-balancer just to re-direct request not bothered on Response? Please explain.

  • @gabiborsky1811

    @gabiborsky1811

    2 жыл бұрын

    Not necessarily a vpn. Since in a vpn, all communication is encrypted between the machines which are in the network, but it can also just be a proxy without encryption, and still not a vpn

  • @NastyWicked
    @NastyWicked3 жыл бұрын

    Glad KZread recommended me this one. Love the analogy, best simplification I heard so far: Proxy: Server doesn't know who the real client is Reverse Proxy: The client doesn't know who the real (backend) server is

  • @abdallahdhaou3065
    @abdallahdhaou30655 жыл бұрын

    Thank you Hussein for all your video, all of them are just really great :) I want to add these explanations: Proxy : Sits between the client and the internet which is often used within organisation to monitor web traffic. Reverse Proxy : Sits between internet and our servers which often used to load balance traffic & serve content from cache. After all, your phrase 'With a proxy the server do not know the client, with a reverse proxy the client doesn't know which server is serving the content' is extremely powerful and self-explanatory, I used it on technical interview and the recruiter was impressed by the simplicity :D

  • @hnasr

    @hnasr

    5 жыл бұрын

    abdallah dhaou Thats is amazing! Very happy I could help. Best of luck and thanks for the summary

  • @hnasr
    @hnasr6 жыл бұрын

    Proxy Explained: 00:20 Proxy Benefits: 02:25 Reverse Proxy Explained: 04:55 Reverse Proxy Benefits: 06:49 Remake of this video (2020) Available here with more details, FAQ & more kzread.info/dash/bejne/haWl1LGsoMTZkco.html)

  • @jegadhesankannan4262

    @jegadhesankannan4262

    4 жыл бұрын

    Thq

  • @danchisholm1

    @danchisholm1

    4 жыл бұрын

    thanks for the timestamps. great video!

  • @michaelparfitt8533

    @michaelparfitt8533

    4 жыл бұрын

    @@danchisholm1 . .l .h . .

  • @michaelparfitt8533

    @michaelparfitt8533

    4 жыл бұрын

    @@jegadhesankannan4262 The . . M .

  • @slidenerd
    @slidenerd2 жыл бұрын

    you dont want the servers knowing who you are = forward proxy you dont want the clients knowing who you are = reverse proxy

  • @vjnvisakh
    @vjnvisakh4 жыл бұрын

    I like the line "server doesn't know which client" and "client doesn't know which server" ... well explained.

  • @YanYong
    @YanYong3 жыл бұрын

    You did a really good job explaining the difference between these two. Help me a lot, Thanks man.

  • @GuitarreroDaniel
    @GuitarreroDaniel3 жыл бұрын

    When I want to learn a backend concept, you're always my first choice man. Amazing explanation!

  • @51w2
    @51w25 жыл бұрын

    Thank you for simplifying matters. It shows u know a lot to be able to do this. well-done!

  • @hnasr

    @hnasr

    5 жыл бұрын

    SIM KM thank you so much. I got to admit that I dont think I know alot I know barely enough to scratch the surface and still learning everyday :). Glad you like it!

  • @PriyaYadav-bu9me
    @PriyaYadav-bu9me5 жыл бұрын

    Thanks for such a good content !! I was very confused between proxy and reverse proxy earlier but now its clear :p

  • @hnasr

    @hnasr

    5 жыл бұрын

    Priya Yadav glad I could help Priya. Thanks for your comment :)

  • @namahshrestha3226
    @namahshrestha32265 жыл бұрын

    So all the instructors iv seen till now were just making this concept more difficult than its supposed to be..amazing explanation man..subscribed

  • @hnasr

    @hnasr

    5 жыл бұрын

    Namah Shrestha im humbled, thank you for your lovely comment.

  • @aftalavera
    @aftalavera4 жыл бұрын

    Great explanation! Simple and concise. Keep up the good work!

  • @hnasr

    @hnasr

    4 жыл бұрын

    Thanks Angel!!

  • @sammyiboi
    @sammyiboi5 жыл бұрын

    Great explanation! Finally understand the difference between the two now. Not too difficult :)

  • @hnasr

    @hnasr

    5 жыл бұрын

    sammyiboi really glad I could help :) yes difference is simple! have a great day and thanks for your comment

  • @sunnyhours84
    @sunnyhours844 жыл бұрын

    Superb content, just subscribed. We need a "Proxy killed democracy" t-shirt!

  • @Mayank0391
    @Mayank03914 жыл бұрын

    Crisp and beautifully explained. Thank you.

  • @sskrypt460
    @sskrypt460 Жыл бұрын

    the one video that gave enough clarity on what a reverse proxy actually meant. thanks mate.

  • @WarehOweh
    @WarehOweh5 жыл бұрын

    Thanks for this simple explanation.

  • @GururajBN
    @GururajBN4 жыл бұрын

    Thanks for the very lucid explanation. I did not know about reverse proxies until I heard you. Thanks again.

  • @hnasr

    @hnasr

    4 жыл бұрын

    Thanks Guruaj for your message. Glad I could help! Cheers

  • @jeff-TessAD2022
    @jeff-TessAD20224 жыл бұрын

    THANK YOU SO MUCH. Love the visual. Always getting this confused before.

  • @hnasr

    @hnasr

    4 жыл бұрын

    Thanks Jeff! I used to get confused about this all the time as well that is why I made this video

  • @kaustubhdesai9262
    @kaustubhdesai92624 жыл бұрын

    This is the most crystal clear explanation of the differences. Thank you Hussein.

  • @hnasr

    @hnasr

    4 жыл бұрын

    ❤️❤️

  • @Apoorvpandey
    @Apoorvpandey4 жыл бұрын

    "Basically we kill democracy, that's what we do " 😂😂😂

  • @jonathandagan8855

    @jonathandagan8855

    2 жыл бұрын

    Had it paused at 4:48 and resumed it just to get surprised by this amazing line

  • @prateek2159
    @prateek21592 жыл бұрын

    I seriously want you to make a course on all the in-depth concepts you know in back-end engineering 🤩🤩

  • @ArjunKalidas
    @ArjunKalidas4 жыл бұрын

    This was a very useful content. Thanks for making this video!

  • @anhvunguyen8171
    @anhvunguyen81714 жыл бұрын

    Very simple explanation. Thank you!

  • @jonathancunanan2490
    @jonathancunanan24905 жыл бұрын

    Very clear explanation. Thank you IGeometry!

  • @davidfagerstrom5010
    @davidfagerstrom50102 жыл бұрын

    Excellent explanation you did it better then my university’s teacher. Thank you very much!

  • @onikazadovi8745
    @onikazadovi87453 жыл бұрын

    Thanks for this nice video, Mr. Hussain. Expecting a lot more videos from you.

  • @Adjudicators
    @Adjudicators5 жыл бұрын

    We killed democracy is what we do 😂😂😆

  • @hnasr

    @hnasr

    5 жыл бұрын

    Patrick Doneld someone made it to the end of the video 😂

  • @LuisSierra42

    @LuisSierra42

    4 жыл бұрын

    @@hnasr I did as well

  • @susanthakumara2223

    @susanthakumara2223

    4 жыл бұрын

    China comes to mind

  • @erurrutia
    @erurrutia5 жыл бұрын

    Thanks. Very simple and easy to understand explanation.

  • @hnasr

    @hnasr

    5 жыл бұрын

    Edgardo Rivera thank you for watching happy i could help.

  • @GauravSingh-xi4bp
    @GauravSingh-xi4bp2 жыл бұрын

    Thanks for making this video. Nicely paced and easy explanation.

  • @adeepak7
    @adeepak75 жыл бұрын

    Good video man! Learned a lot!

  • @xievalkie4943
    @xievalkie49432 жыл бұрын

    You made this video so much fun to watch.

  • @shutupntakemymoni
    @shutupntakemymoni2 жыл бұрын

    Explained really really clearly. Thank you for sharing!

  • @yashasvi9655
    @yashasvi96555 жыл бұрын

    Great video. I am hosting an application and was wondering what reverse proxy was. Thank you!

  • @hnasr

    @hnasr

    5 жыл бұрын

    Yashasvi glad the video was useful :)

  • @radu300599
    @radu3005994 жыл бұрын

    Very good content presented in an easy-to-grasp manner. Subscribed!

  • @hnasr

    @hnasr

    4 жыл бұрын

    Radu Nițescu thanks Radu!! Enjoy the content 😊

  • @innovation-streams5789
    @innovation-streams57895 жыл бұрын

    Simple and clear explanation. Great video.

  • @hnasr

    @hnasr

    5 жыл бұрын

    innovation-streams thank you so much!

  • @davidcondit388
    @davidcondit3885 жыл бұрын

    Informative and I appreciate the info as to why a proxy and reverse proxy can be beneficial.

  • @hnasr

    @hnasr

    5 жыл бұрын

    David Condit thank you 😊

  • @mateusmelodn
    @mateusmelodn3 жыл бұрын

    Best explanation I've ever seen. Thank you

  • @sandeepkosta5750
    @sandeepkosta57502 жыл бұрын

    Sir I must say your videos are pure gold.

  • @arborinfelix
    @arborinfelix4 жыл бұрын

    Best sentence in a Video About Proxys: "Besically we killed Democracy"

  • @aftalavera

    @aftalavera

    4 жыл бұрын

    Eternal struggle!

  • @propertyguru22

    @propertyguru22

    3 жыл бұрын

    Correct spelling is Basically not Besically.

  • @demidrek-heyward
    @demidrek-heyward3 жыл бұрын

    Hussein you are killing it ! thanks

  • @n1ghthawkx
    @n1ghthawkx5 жыл бұрын

    Great explanation, thank you!

  • @hnasr

    @hnasr

    5 жыл бұрын

    n1ghthawkx thanks for watching appropriate it

  • @kavin.p9689
    @kavin.p96895 жыл бұрын

    Thank u Bro for the clear explanation of reverse proxy. go ahead

  • @hnasr

    @hnasr

    5 жыл бұрын

    kavin tharun thank you for watching 😊

  • @tjblackman08
    @tjblackman084 жыл бұрын

    Good video. Good visualization! Thanks

  • @pranavbhardwaj6965
    @pranavbhardwaj69655 жыл бұрын

    Explained so well. Thank you..!!! Subscribed...!!!

  • @hnasr

    @hnasr

    5 жыл бұрын

    Pranav Bhardwaj thanks for watching! And welcome to the channel

  • @briankent71
    @briankent714 жыл бұрын

    Great video Hussein. Very clear and simplified.

  • @hnasr

    @hnasr

    4 жыл бұрын

    Thanks Brian Appreciate it !!

  • @joshuayoung8299
    @joshuayoung82992 жыл бұрын

    Great explanation. So within an enterprise network you want your clients outbound traffic to go through a forward proxy. For your environment's endpoints and web servers, you want external traffic to come through a reverse proxy.

  • @hnasr

    @hnasr

    2 жыл бұрын

    Well said, nice summary

  • @andrewpoloni4197
    @andrewpoloni41974 жыл бұрын

    Another great video! Thank you and rock on! :)

  • @Andy-lr1gx
    @Andy-lr1gx4 жыл бұрын

    Very funny, easy to understand and epic voice :D

  • @sebastianrobertson5504
    @sebastianrobertson55045 жыл бұрын

    Great summation. Thank you.

  • @hnasr

    @hnasr

    5 жыл бұрын

    Sebastian Robertson happy to help

  • @mastadodo
    @mastadodo4 жыл бұрын

    Thanks for the clear explanation!

  • @md.mainuddin8211
    @md.mainuddin82113 жыл бұрын

    Well explained bro (That's why subscribed). Thanks a lot. Keep it up.

  • @manishsharma9490
    @manishsharma94903 жыл бұрын

    Thank you so very much for such a great explanation! It was so easy to understand and apply!! :)

  • @hnasr

    @hnasr

    3 жыл бұрын

    I'm so glad!

  • @swapnilpednekar4278
    @swapnilpednekar42785 жыл бұрын

    Nice Article with advantage of each option. Thank you.

  • @hnasr

    @hnasr

    5 жыл бұрын

    Swapnil Pednekar thanks for watching! Glad I could help

  • @jmpstartproduction288
    @jmpstartproduction2885 жыл бұрын

    really helpful and professionally explained GJ

  • @hnasr

    @hnasr

    5 жыл бұрын

    Thank you very much :) Really glad you enjoyed the content.

  • @padamthapa1889
    @padamthapa18895 жыл бұрын

    this video is much beneficial for me nice explain m fro, india love u

  • @hnasr

    @hnasr

    5 жыл бұрын

    zero axis glad you enjoy it! all the love to my indian subs ❤️

  • @durgeshpachghare6901
    @durgeshpachghare69014 жыл бұрын

    Perfect explanation!

  • @ahmedz121
    @ahmedz1213 жыл бұрын

    Nasser, in a reverse proxy the client goes to the server first - and the server then reverse proxies you to another system, such as CASB or Okta or anything else like that; with a proxy you go to the proxy first and then onto your server!

  • @ryandsouza9093
    @ryandsouza90933 жыл бұрын

    Can you please do the grokking system design course? I've seen like 10 other channels, your's is the only one I can binge.

  • @NinosYoukhana
    @NinosYoukhana4 жыл бұрын

    Thank you for this explanation @hussein Nasser

  • @-q-b0_1
    @-q-b0_13 жыл бұрын

    Great video explained in simple way on. Reverse proxy 👍

  • @brunodonascimentomaciel9984
    @brunodonascimentomaciel99844 жыл бұрын

    Nice explanation, now I know how nginx works. Thanks from Brazil.

  • @hnasr

    @hnasr

    4 жыл бұрын

    Bruno do Nascimento Maciel Thanks for your comment 😊 nginx is a cool layer 7 reverse proxy , did you check out Caddy or haproxy?

  • @jonnetg
    @jonnetg5 жыл бұрын

    Thanks a lot!! Amazing explanation! A++

  • @pramode2009
    @pramode20094 жыл бұрын

    Explained in best way....

  • @_productivity__nill_1131
    @_productivity__nill_11315 жыл бұрын

    Best explanation on KZread

  • @hnasr

    @hnasr

    5 жыл бұрын

    I’m humbled thanks for watching!

  • @madanmohanpachouly6135
    @madanmohanpachouly61352 жыл бұрын

    Very clear explanation.. Thanks a lot for your efforts.

  • @preetibhave9467
    @preetibhave94673 жыл бұрын

    Subscribed! Really great content. Concepts explained so beautifully. Thanks

  • @hnasr

    @hnasr

    3 жыл бұрын

    🙏🙏

  • @ranjeetbadhe446
    @ranjeetbadhe4465 жыл бұрын

    The clients behind the proxy server can be identified by the Web server. The client originating the Web request (modern browsers) will embed the IP address in the header. There are many websites which displays the originating IP address of the client, even if you are using proxy server.

  • @hnasr

    @hnasr

    4 жыл бұрын

    That is correct. Proxies can add the via headers or originating ip address . So the server can know the original client. in a proxy that doesn’t change the content, the server wont know the client

  • @erensrtky
    @erensrtky4 жыл бұрын

    thank for perfect explanation bro

  • @Kqto
    @Kqto4 жыл бұрын

    Great video. Excellent explanation!

  • @PakArchives
    @PakArchives3 жыл бұрын

    Thank you very much for such an awesome tutorial

  • @barcannon
    @barcannon4 жыл бұрын

    great explanation! most of tech is just vocabulary, when you understand its just common sense.

  • @hnasr

    @hnasr

    4 жыл бұрын

    articulate exactly everything is common sense. Explaining a concept with another complicated concept just confuses me so I like to simplify things

  • @Natsume-fan
    @Natsume-fan4 жыл бұрын

    Dude, seriously funny! Thanks!

  • @LeSaboteur3981
    @LeSaboteur39813 жыл бұрын

    Thanks for this short and good explanation that helped me a lot!

  • @hnasr

    @hnasr

    3 жыл бұрын

    Glad it helped Appreciate you

  • @prajjwalsingh6490
    @prajjwalsingh64905 жыл бұрын

    Thank you. You make it look so easy. :D

  • @hnasr

    @hnasr

    5 жыл бұрын

    Thanks for watching. I try 😊 its a complex topic

  • @hnasr
    @hnasr2 жыл бұрын

    Learn the fundamentals of the backend, scaling and load balancing with my Introduction to NGINX udemy course Grab a discount coupon here nginx.husseinnasser.com

  • @InmortalAlucard
    @InmortalAlucard4 жыл бұрын

    Awesome explanation!! Thanks!

  • @StevePlaysBanjo
    @StevePlaysBanjo4 жыл бұрын

    Elegantly (and humorously) explained!

  • @hnasr

    @hnasr

    4 жыл бұрын

    Thank you Steve !!

  • @empuraan4710
    @empuraan47102 жыл бұрын

    Best video on proxies out there

  • @tutao2008
    @tutao20084 жыл бұрын

    Nice one Husso thanks from Brazil

  • @hnasr

    @hnasr

    4 жыл бұрын

    Love all my subs from Brazil 🇧🇷❤️

  • @olgayazovskaya2881
    @olgayazovskaya28815 жыл бұрын

    Great Explanation!

  • @hnasr

    @hnasr

    5 жыл бұрын

    Olga Yazovskaya thanks! Glad you liked the video

  • @hayounglee5929
    @hayounglee59293 жыл бұрын

    This is great...!!!!!!! Thank you for your video!

  • @mentorvejseli
    @mentorvejseli3 жыл бұрын

    Thank you very much for this video. Best Regards!

  • @ramirez368
    @ramirez3682 жыл бұрын

    Pretty pretty nice explanation Hussein!!!!

  • @karabakhazerbaijan1646
    @karabakhazerbaijan16463 жыл бұрын

    Best explanation with diagram.

  • @Aahnik
    @Aahnik Жыл бұрын

    Thanks for this video.... Nicely explained 😀

  • @roshankumar2642
    @roshankumar26424 жыл бұрын

    Such nicely explained.. thanks

  • @douglasmiranda4756
    @douglasmiranda47562 жыл бұрын

    very nice explanation. Thank you.

  • @puranamkarthiksairadhakris168
    @puranamkarthiksairadhakris1683 жыл бұрын

    great, simple explanation!

  • @mhcbon4606
    @mhcbon46063 жыл бұрын

    i did not know about gliffy, pretty cool.

  • @bariscelikag304
    @bariscelikag3043 жыл бұрын

    Nice video, easily comprehensible definition... So, Haproxy is a "reverse proxy" typed application and it works as "loadbalancer"

  • @DaggieBlanqx
    @DaggieBlanqx3 жыл бұрын

    Thank you for demystifying this.

  • @LeandroLima81
    @LeandroLima812 жыл бұрын

    Super helpful. Kudos!

  • @josephfernandez9010
    @josephfernandez90104 жыл бұрын

    Great video friend, thanks!

  • @abdulmlaikalomayri727
    @abdulmlaikalomayri727 Жыл бұрын

    As always Great content with clear explications.

  • @dudephanith
    @dudephanith5 жыл бұрын

    Thanks for explanation !!!

  • @hnasr

    @hnasr

    5 жыл бұрын

    Vong Sophanith your welcome 🙏

  • @Littleanimalsarecute
    @Littleanimalsarecute Жыл бұрын

    Nice video! I appreciated the humor. 🐿😎

  • @lieutallen
    @lieutallen3 жыл бұрын

    I would have loved to understand the impact of session and cookies if any in case of proxies.

Келесі