Proxy vs Reverse Proxy Server Explained

Sdílet
Vložit
  • čas přidán 12. 06. 2024
  • In this video, I explain the difference between a proxy and a reverse proxy server. How Reserver Proxy can act as a load balancer but much more. This is a refreshed version of the proxy video I made.
    Chapters
    0:00 Intro
    0:25 What is a Proxy?
    5:00 What is a Reverse Proxy?
    9:50 Questions
    What is a Proxy ?
    Proxy use cases
    - Logging
    - Anonymity
    - Geofencing
    - Caching
    - Block sites (office)
    - Enable Polyglot
    What is Reverse Proxy?
    Reverse Proxy Example
    Reverse Proxy Use Cases
    - Caching (Varnish)
    - Load Balancing
    - Ingress (/pics)
    - Canary Deployment
    Many types of proxy check it here
    Q and A
    * can we use proxy and reverse proxy together?
    * Can I use Proxy to hide my identity instead of a VPN?
    * Can I use proxy just for HTTP?
    tags: proxy vs reverse proxy, reverse proxy benefits, what is a reverse proxy, what is a proxy, what is the difference between proxy and reverse proxy
    🏭 Software Architecture Videos
    • Software Architecture
    💾 Database Engineering Videos
    • Database Engineering
    🛰 Network Engineering Videos
    • Network Engineering
    🏰 Load Balancing and Proxies Videos
    • Proxies
    🐘 Postgres Videos
    • PostgresSQL
    🚢Docker
    • Docker
    🧮 Programming Pattern Videos
    • Programming Patterns
    🛡 Web Security Videos
    • Web Security
    🦠 HTTP Videos
    • HTTP
    🐍 Python Videos
    • Python by Example
    🔆 Javascript Videos
    • Javascript by Example
    👾Discord Server / discord
    Support me on PayPal
    bit.ly/33ENps4
    Become a Patreon
    / hnasr
    Stay Awesome,
    Hussein
  • Věda a technologie

Komentáře • 155

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

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

  • @alanraftel5033
    @alanraftel5033 Před 4 lety +107

    I love the way you teach, humble, fun and very informative

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

      Alan Raftel thanks Alan ! I am really happy you are enjoying the content and style . 🙏

    • @novadestroyerthesundestroy890
      @novadestroyerthesundestroy890 Před rokem

      @@hnasr tow question, you're looking for anonymity, what should you use? Second, is it possible to build your own proxy and how difficult is it?

  • @howardai
    @howardai Před 3 lety +6

    As someone who doesn't have a programming background who is just starting to dabble in it this year, your videos have been excellent! You make it so light and easy and doesn't feel condescending and pretentious, and explaining it in a way that is easy to understand without any big scary words! Thank you so much!

  • @rick-kv1gl
    @rick-kv1gl Před 3 lety +9

    this channel is underrated, u do great job of explaining concepts that have 200 pages of docs and leave me flabergasted in 15 min, common how is this not geting utube hits.

    • @hnasr
      @hnasr  Před 3 lety

      Thank you appreciate it!! 😊 I have missed so many concepts in this video just to simply the topic. I made so many videos about proxies and there are still so many concepts that I didn’t cover.

  • @mustafahakimi3532
    @mustafahakimi3532 Před 3 lety +22

    I have been binge-watching your videos for the past 3 days 😂 So much information and I can't get enough of it! Thank you so much for these educational videos 💪

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

      Thanks Striker! I am happy you are enjoying the content! 🙏

  • @yannistheodorakopoulos5916

    Hello Hussein. Your content is outstanding and as a currently front end engineer, it helps a lot explaining all these back end terms in an ELI5 perspective.
    Keep up the great work.
    Cheers

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

    Found a vid of yours by coincidence and I must agree with the rest of the ppl, the way you deliver the message is different from others, good job!

  • @SownJevan
    @SownJevan Před rokem

    I am having so much fun binging all your videos. Before your videos I had this fog in my brain and I could not imagine the web in my mind fully but now with your indepth explanation, I have a much more grounded knowledge and I can even research further in the topics I could not understand, so yeah thanks man, I appreciate the knowledge.

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

    Cheers Hussien, your videos are fantastic ( simplifying complex content using not only effective communication but also topping it up with excellent animation .. very Refreshing) . God Bless you Man , please keep up the good work.

  • @shishirbhurtel7978
    @shishirbhurtel7978 Před rokem

    when I watch your videos, I am always enlightened about how much I have learn more than the content you have to offer

  • @taylorlund4188
    @taylorlund4188 Před 2 lety

    My god man... I have been trying to come up with a decent way to understand proxies at all, much less reverse proxy and this FINALLY made it click! Thank you so much!

  • @Finn-jp6pn
    @Finn-jp6pn Před 3 lety +26

    Whenever I have some free time, I open up one of your videos. Always learned a lot. Thanks!

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

      fen1x_ thank you for watching and leaving a comment ❤️

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

    These videos are so useful to refresh your understanding / memory.

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

    Thank you for the clear illustrations. I'm a visual learner and I really appreciated them. I love illustrations/diagrams. Forward Proxy and Reverse Proxy in general don't seem like the best terms but perhaps when they were created it made sense within the initial context. Either way, good stuff. Subscribing!

    • @hnasr
      @hnasr  Před 3 lety

      Great to hear! I Agree with you on the terminology I never liked them, but I got used to the terms now without thinking much about it
      appreciate it and welcome to the community enjoy the content.

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

    It is an amazing video. The way you have taught the concepts and the visuals you have used combined gives an amazing output.

    • @hnasr
      @hnasr  Před 4 lety

      Nidhi Patel thank you Nidhi!! Appreciate it glad you enjoyed the content 🙏

  • @ishitvagoel5819
    @ishitvagoel5819 Před rokem +1

    Thank you for the helpful videos. I have always wanted to know deeper things about Backend Engineering and never found such relevant content. I have also started reading your Medium articles and I hope to become a better Engineer. You sir, give me hope 🙏

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

    you made things simple because btw it is ! the way you teach, THE BEST
    thanks a lot

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

    Thank you Hussein, you did a great job 👌🏻👏🏻👏🏻

  • @modut6258
    @modut6258 Před 3 lety

    You have a really engaging style. Great vid, thanks!

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

    I came looking for copper and I found gold... thank you for the quality content 👌👍

  • @henriquekomura4424
    @henriquekomura4424 Před 3 lety

    Gosh... just found Hussein's channel serching for some explanation about Nginx. This video and the 2018 one are amazing! I can even feel the emotion through this complex theme, easy to follow explanations and examples. And, of course, the visual material became *awesome*. Good job friend!

    • @hnasr
      @hnasr  Před 3 lety

      Henrique Komura thanks Henrique for the kind words!! Glad you like the content 😊

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

    I am watching ur videos from last few weeks, all Your content is really unique, and technically rich.

    • @hnasr
      @hnasr  Před 3 lety

      Rahul Das thanks Rahul! Glad you like the content

  • @shmupful
    @shmupful Před rokem

    Great content, very clear and simple. Thank you

  • @mariumbegum7325
    @mariumbegum7325 Před rokem

    Insightful video, keep it up!

  • @senthilkumarvaidyanathan5553

    Hey, I watched many of your videos. Really like the way you explain the concepts. Hats off and thank you very much. Having said that , In this video I just felt “Reverse proxy “ as a topic is not clear to yourself like me

  • @krishnakumar-rp9wc
    @krishnakumar-rp9wc Před 3 lety

    I am in love with this channel !!

  • @shivangchheda6311
    @shivangchheda6311 Před 2 lety

    Damn man U are good to me when it comes to backend developement, i mean i tried googling stuffs and watch other video but ur this one video helped understand ingress and load balancing and other stuff about networking i was having doubts about while dockerising my simple application for learning process. Man just plain amazing. i wish to work with someone u in my future carrer of full stack development

  • @danielsoto4752
    @danielsoto4752 Před 3 lety

    You are amazing explaining!

  • @tanoybhowmick8715
    @tanoybhowmick8715 Před 2 lety

    Informative, thanks.

  • @himbary
    @himbary Před 3 lety

    Thanks, great examples!

  • @davidpccode
    @davidpccode Před 3 lety

    wow!! great content, great explanation.. super clear!!! thanks!

  • @kreassiva9138
    @kreassiva9138 Před 2 lety

    Great improvement in quality

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

    Great content! My new favorite channel!

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

      Thanks Antoni 😍😍

  • @naderreda2020
    @naderreda2020 Před 2 lety

    Thank you much..... you create really great videos.......

  • @ChengZhao
    @ChengZhao Před 4 lety

    Great video with easy to understand explanations!

    • @hnasr
      @hnasr  Před 3 lety

      Glad it was helpful!

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

    Thanks for the video!

  • @spacepacehut3265
    @spacepacehut3265 Před 7 měsíci +1

    For visual learners I must say it would be better if you could have some visible pointer like sometimes the mouse pointer gets lost in the contrast colors and it gets a bit difficult which "this" "this" you're pointing to. 😅
    Well, excellent work Hussein, Thanks for the content.

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

    Great video. Thanks

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

    Amazing tutorials, it makes sense

  • @JoaoPedroMDP
    @JoaoPedroMDP Před 2 lety

    Amazing content. Thankssss!!!!!!!!

  • @Roozbeh49463
    @Roozbeh49463 Před 3 lety

    thanks i love your teaching

  • @Wayne.416
    @Wayne.416 Před 4 lety

    Thanks for all the amazing content, Hussein. A video on Traefik would be nice.

    • @hnasr
      @hnasr  Před 4 lety

      Wayne this is one of the most requested topic! I need to prioritize it! Thank you 😊

  • @Masterjabol
    @Masterjabol Před 4 lety +19

    I like this icons, there are much better to remember Use Cases :)

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

      Thanks 😊 took me a while to do them am a terrible designer

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

      @@hnasr I like them also! What distracts me is the moving circles... Maybe is just me but I'd prefer static circles and just follow your mouse over. As always, great video! Thanks a lot

  • @shubham123456yadav
    @shubham123456yadav Před 4 lety

    It was interactive and very light even then the explanation looked detailed. I wanted to refresh few facts. Really nice watching it. 😉

    • @hnasr
      @hnasr  Před 4 lety

      Shubham yadav thank you Shubham!! Appreciate it. I might have put too many animations 😅

  • @saoudahmedkhan2549
    @saoudahmedkhan2549 Před rokem

    Love you bro you are my true mentor

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

    Really great video, learning so much. I have a question, on some specific servers we need to set proxies to access web content, so I know now that setting proxy now allows my requests to go through them which is then served to me but why am I not able to access any content without the proxy, is it because some kind of local certificates that is checked which is used when relaying the content through proxy or is there some other mechanism at play here?

  • @shivamsahi8160
    @shivamsahi8160 Před rokem

    i love this youtube channel

  • @SajidAli-ub6th
    @SajidAli-ub6th Před 3 lety +2

    You are learning Kubernetes, and you are expecting to understand one concept, reverse proxy; voila, this video will not only tell you about reverse proxy also tells its use cases in the Kubernetes environment. The video exceeded the expectations.

  • @modularmoon
    @modularmoon Před rokem

    Thank you for these videos! They are really great and helpful to learn. Trying to wrap my head around this concept, I know this is probably an oversimplified statement, but could you say that a machine could be identified as a Proxy if it is placed in front / handles routing (or headers, etc.) of a machine making a Request, while a reverse-proxy is placed in front / handles routing of a server issuing a Response ?

  • @user-mo3cw6go7c
    @user-mo3cw6go7c Před 3 lety

    Cool animations very valuable information

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

    excellent as always

    • @hnasr
      @hnasr  Před 3 lety

      Thank you! Cheers!

  • @WeiLiuhaha
    @WeiLiuhaha Před 2 lety

    The image is king!

  • @ovebepari6682
    @ovebepari6682 Před rokem +1

    You don't need to animate if it takes a good chunk of your time. Your explanations are good enough with static icons even.

  • @starterdev
    @starterdev Před 3 lety

    This video is excellent, thanks

    • @hnasr
      @hnasr  Před 3 lety

      Glad you enjoyed it!

  • @hamidja1537
    @hamidja1537 Před rokem

    Thanks for sharing

  • @seyeonkim6646
    @seyeonkim6646 Před 2 lety

    Thank you, how did you make your animation? It's just SO helpful

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

    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

  • @pablohernandez4305
    @pablohernandez4305 Před 3 lety

    thanks for this videos

  • @MrRoBot-wn4kp
    @MrRoBot-wn4kp Před rokem

    you are the best..

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

    I am a network guy and a random recommendation got me to this wonderful video. Good to refresh some of the tech terms I always forget.
    Can you please let me know what software/app you are using to make those video Hussein? The animation is too good :)

    • @hnasr
      @hnasr  Před 3 lety

      Thanks Nikhil! Appreciate your comment, and welcome to the channel 🙏
      I use canva to do the animation

  • @shafiemukhre
    @shafiemukhre Před 3 lety

    5:15 this is gold. In the reverse proxy, the client doesn't know the final destination

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

    First of all, thank you for this great video! Second, as I know, proxy doesn’t provide tunneling option, and it’s the difference between vpn and proxy , but you explained tunneling while explaining proxy. Could you please clarify it for me?

  • @Babe_Chinwendum
    @Babe_Chinwendum Před 3 lety

    Thank you so much

  • @Bash11
    @Bash11 Před 3 lety

    Thank you

  • @CodePathshala
    @CodePathshala Před 2 lety

    Your content is awesome as usual.
    This animation on content slide is something that caught all my attention, this time.
    What tool have you used, can you share the template :)

  • @tuanousman8318
    @tuanousman8318 Před 3 lety

    fantastic!

  • @joelvarghese3370
    @joelvarghese3370 Před rokem

    Great video. Just a question. Can a reverse proxy machine go down because of say a DDoS attack? If yes can we have a backup reverse proxy machine?

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

    Can we say in proxy, the client is aware it communicates through a proxy server to the destination. While in reverse proxy the client assumes the proxy is the destination.

  • @ronityadav3936
    @ronityadav3936 Před 3 lety

    watching his videos since 2k subs..

  • @lord12790
    @lord12790 Před 4 lety

    Hi Hussein,
    Another great video and quality content. I also always get confused between both when I started my industry journey to till today special due to proxy now being used with Kubernetes as side-car containers and reverse proxy outside of pods for load balancing.
    Can you make video about things like Linkered, NGNIX Ingress, Istio, Envoy etc.
    Regards,
    Ratnadeep

    • @hnasr
      @hnasr  Před 4 lety

      Thanks ! Yes Service Mesh is on my agenda

  • @alimeraj9992
    @alimeraj9992 Před 4 lety

    As always very informative for me. Sir can you please upload videos on load balancing

    • @hnasr
      @hnasr  Před 4 lety

      Thanks Ali! Check out my load balancers playlist Load Balancing & Proxies czcams.com/play/PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC.html

  • @thundrking
    @thundrking Před rokem

    Thanks!

    • @hnasr
      @hnasr  Před rokem

      Thanks for the support!

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

    Hello Hussein, What are the most relevant HTTP header values ​​for a proxy? Server, Date, Content-type, Expires or Last-Modified?

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

    Good explanation. What tool did you use to create the video?

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

      Animesh Gupta hey I used Canva 🙏

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

    :) IMHO Reverse proxy is 2nd thing every engineer should learn right after learning Ansible. :)
    I agree that most of the advertised VPNs are garbage. :)
    The only VPN i use is the one i personally set up to connect to my clients internal network to manage their network and devices.
    I personally currently use HAProxy at home, but mentally leaning towards Istio/Envoy because i am slowly migrating into service mesh.
    One important point of reverse proxy is ability to secure your perimeter by implementing HTTP/2 at the edge. So you don't need (BUT YOU SHOULD) to care about all that certificate mess at applications level. Basically proxy, can handle security of all your traffic. No matter do you run WordPress, Postfix, Jenkins or any other externally exposed application. All you need is an proxy and single wildcard Let'sEncrypt TLS.

    • @hnasr
      @hnasr  Před 4 lety

      Agree! A very critical thing for engineers 👩‍💻 to know

  • @rpanda_old
    @rpanda_old Před 4 měsíci

    so is spring cloud gateway a type of reverse proxy ingres use case ?

  • @hpandeymail
    @hpandeymail Před 2 lety

    How does ssl proxy work .. certificates are from server to client.. wondering what role the proxy can play when the negotiation for SSL has happened end to end. Does all SSL proxy terminate the TLS if not then kindly explain how ..

  • @Ghostface.14
    @Ghostface.14 Před 4 lety +1

    fucking brilliant video mate, thanks so much

  • @AMITASHUKLA0906
    @AMITASHUKLA0906 Před 2 lety

    At 13:20 you refrain from using the word "tunnels" for HTTP proxies, I wonder anything wrong with saying "http proxy only 'tunnels' traffic for http" ??

  • @serverplaform
    @serverplaform Před 2 lety

    @hussein Nasser: could please give difference between canary and A/B testing ??

  • @Daniel-bb3pf
    @Daniel-bb3pf Před rokem

    Merci

  • @ubaidshahid5123
    @ubaidshahid5123 Před 3 lety

    Nice video, Did you make video on HA(High Availability), like VM level HA, or microservice level HA.
    If not kindly make a video on it.

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

      ubaid shahid thanks! Yeah I made a couple
      Fail-over and High-Availability (Explained by Example)
      czcams.com/video/Zgy1miPsTNs/video.html
      Setup Active-Passive Cluster with Keepalived & HAProxy (Two raspberry pis)
      czcams.com/video/NizRDkTvxZo/video.html
      Active-Active vs Active-Passive Cluster Pros & Cons
      czcams.com/video/d-Bfi5qywFo/video.html

  • @vincentsaiwa6415
    @vincentsaiwa6415 Před 3 lety

    I like it

  • @ibrahemmohamed4615
    @ibrahemmohamed4615 Před 2 lety

    thx

  • @pranjalagnihotri6072
    @pranjalagnihotri6072 Před 3 lety

    So does it means all the Loadbalancers implements reverse proxy architecture?

  • @Meleeman011
    @Meleeman011 Před 3 lety

    reverse proxy is badass trully

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

    If vpn doesn’t give full anonymity, what does or is full anonymity possible?

  • @wasiahmad8642
    @wasiahmad8642 Před 2 lety

    Can you suggest some books to learn about proxy and reverse proxy? Can't afford web courses might find books for free :)

  • @achang28
    @achang28 Před 2 lety

    “Reverse proxy is the ‘reverse’. it’s very confusing - I know”. You’re the only one to call out the elephant in the room re: the naming format. The name format is a curveball to the true meaning behind the 2 terms.

  • @RonsonXaviour
    @RonsonXaviour Před rokem

    RFC number for forward proxy? 👀

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

    Hey Hussein Great tutorial (as always)!
    I would suggest using less graphics :)

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

      Thanks Law 😊 doing some experimenting 🧪 with graphics.. I guess I went too far lol , will sure make my life easier without them! Appreciate it.

    • @CarT0nMaN
      @CarT0nMaN Před 4 lety

      ​@@hnasr Less motion/moving graphics to be specific. It takes so much of the attention of the viewer. Nice tutorial. :D By the way, can you share with me some tips for reverse proxy for my college project (making a software or web/mobile application that uses reverse proxy) or share some your experience using it ?

  • @ravitejavankam2977
    @ravitejavankam2977 Před 3 lety

    Can VPN be an example of proxy

  • @sevm7792
    @sevm7792 Před rokem

    It seems as though it is time to follow the pattern and make a new version of the video.

  • @zaarare
    @zaarare Před 2 lety

    i have a Irrelevant question : whats your slides maker software?😅

  • @cloudserviceservice7132

    Sir, please make a video on how to set up a tunnel to the local network in case of a Carrier Grade Nat which blocks all inbound requests from the Internet ....... This would benefit a large group of people who want remote access to their own pc without begging their Local ISP for a static IP or for opening ports. In my case, I have been banging my head trying to figuring how to get things to work on Plex and Emby Media Server.

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

      cloud service service i have a video on SSH tunneling coming soon that might help you achieve this

    • @cloudserviceservice7132
      @cloudserviceservice7132 Před 4 lety

      @@hnasr Thank you, Sir.

  • @jitenanand9535
    @jitenanand9535 Před rokem

    make your mouse cursor little bit bigger while recording video for youtube so that it will be easier to follow your mouse cursor. Make a light colr cursor

  • @kouchikameghana6980
    @kouchikameghana6980 Před 3 lety

    Can you tell which is bidirectional? Proxy or rproxy?

    • @hnasr
      @hnasr  Před 3 lety

      I think only the reverse proxy can be bidirectional since it terminals the traffic it can send information unsolicited back to the client. Proxy can't do that

  • @darrenz5557
    @darrenz5557 Před 3 lety

    proxy block list is static? so a bad guy can just make another fake server?

  • @zoso25
    @zoso25 Před 2 lety

    If there's an ISP's Proxy and Google's reverse proxy would be there, the client doesn't know the actual server and the server doesn' know the actual client. Is that right?

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

      That is correct, google reverse proxy will see the ISP proxy (assuming its not transparent) . And the client only know google frontend reverse proxy.
      Unless of course the ISP proxy forwards the client ip through headers

  • @supersu6138
    @supersu6138 Před 2 lety

    Haha Hussein ikwum 😂😂