Proxy vs Reverse Proxy Server Explained

  Рет қаралды 129,811

Hussein Nasser

4 жыл бұрын

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
kzfaq.info/sun/PLQnljOFTspQXNP6mQchJVP3S-3oKGEuw9
💾 Database Engineering Videos
kzfaq.info/sun/PLQnljOFTspQXjD0HOzN7P2tgzu7scWpl2
🛰 Network Engineering Videos
kzfaq.info/sun/PLQnljOFTspQUBSgBXilKhRMJ1ACqr7pTr
🏰 Load Balancing and Proxies Videos
kzfaq.info/sun/PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC
🐘 Postgres Videos
kzfaq.info/sun/PLQnljOFTspQWGrOqslniFlRcwxyY94cjj
🚢Docker
kzfaq.info/sun/PLQnljOFTspQWsD-rakNw1C20c1JI8UR1r
🧮 Programming Pattern Videos
kzfaq.info/sun/PLQnljOFTspQV1emqxKbcP5esAf4zpqWpe
🛡 Web Security Videos
kzfaq.info/sun/PLQnljOFTspQU3YDMRSMvzflh_qXoz9zfv
🦠 HTTP Videos
kzfaq.info/sun/PLQnljOFTspQU6zO0drAYHFtkkyfNJw1IO
🐍 Python Videos
kzfaq.info/sun/PLQnljOFTspQU_M83ARz8mDdr4LThzkBKX
🔆 Javascript Videos
kzfaq.info/sun/PLQnljOFTspQWab0g3W6ZaDM6_Buh20EWM
👾Discord Server discord.gg/CsFbFce
Support me on PayPal
bit.ly/33ENps4
Become a Patreon
www.patreon.com/join/hnasr?
Stay Awesome,
Hussein

Пікірлер: 156
@hnasr
@hnasr 2 жыл бұрын
Get my Fundamentals of Networking for Effective Backends udemy course Head to network.husseinnasser.com (link redirects to udemy with coupon)
@howardai
@howardai 3 жыл бұрын
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!
@alanraftel5033
@alanraftel5033 4 жыл бұрын
I love the way you teach, humble, fun and very informative
@hnasr
@hnasr 4 жыл бұрын
Alan Raftel thanks Alan ! I am really happy you are enjoying the content and style . 🙏
@novadestroyerthesundestroy890
@novadestroyerthesundestroy890 Жыл бұрын
@@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?
@yannistheodorakopoulos5916
@yannistheodorakopoulos5916 3 жыл бұрын
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 3 жыл бұрын
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!
@mustafahakimi3532
@mustafahakimi3532 3 жыл бұрын
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 3 жыл бұрын
Thanks Striker! I am happy you are enjoying the content! 🙏
@rick-kv1gl
@rick-kv1gl 3 жыл бұрын
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 3 жыл бұрын
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.
@taylorlund4188
@taylorlund4188 2 жыл бұрын
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!
@sanjaysamuel2293
@sanjaysamuel2293 2 жыл бұрын
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 Жыл бұрын
when I watch your videos, I am always enlightened about how much I have learn more than the content you have to offer
@SownJevan
@SownJevan Жыл бұрын
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.
@Finn-jp6pn
@Finn-jp6pn 4 жыл бұрын
Whenever I have some free time, I open up one of your videos. Always learned a lot. Thanks!
@hnasr
@hnasr 4 жыл бұрын
fen1x_ thank you for watching and leaving a comment ❤️
@MrRyanboo1
@MrRyanboo1 3 жыл бұрын
These videos are so useful to refresh your understanding / memory.
@vaf2980
@vaf2980 3 жыл бұрын
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 3 жыл бұрын
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.
@modut6258
@modut6258 3 жыл бұрын
You have a really engaging style. Great vid, thanks!
@nidhipatel68
@nidhipatel68 4 жыл бұрын
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 4 жыл бұрын
Nidhi Patel thank you Nidhi!! Appreciate it glad you enjoyed the content 🙏
@ishitvagoel5819
@ishitvagoel5819 Жыл бұрын
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 🙏
@henriquekomura4424
@henriquekomura4424 3 жыл бұрын
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 3 жыл бұрын
Henrique Komura thanks Henrique for the kind words!! Glad you like the content 😊
@cheikhelghawthe8868
@cheikhelghawthe8868 3 жыл бұрын
you made things simple because btw it is ! the way you teach, THE BEST thanks a lot
@kovaydin
@kovaydin 3 жыл бұрын
I came looking for copper and I found gold... thank you for the quality content 👌👍
@gangstaberry2496
@gangstaberry2496 6 күн бұрын
Thank you for the update, excellent examples
@rehama962
@rehama962 2 жыл бұрын
Thank you Hussein, you did a great job 👌🏻👏🏻👏🏻
@RAHUDAS
@RAHUDAS 3 жыл бұрын
I am watching ur videos from last few weeks, all Your content is really unique, and technically rich.
@hnasr
@hnasr 3 жыл бұрын
Rahul Das thanks Rahul! Glad you like the content
@mariumbegum7325
@mariumbegum7325 Жыл бұрын
Insightful video, keep it up!
@himbary
@himbary 3 жыл бұрын
Thanks, great examples!
@krishnakumar-rp9wc
@krishnakumar-rp9wc 3 жыл бұрын
I am in love with this channel !!
@shmupful
@shmupful Жыл бұрын
Great content, very clear and simple. Thank you
@danielsoto4752
@danielsoto4752 3 жыл бұрын
You are amazing explaining!
@shivangchheda6311
@shivangchheda6311 2 жыл бұрын
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
@vladislavkaras491
@vladislavkaras491 7 ай бұрын
Thanks for the video!
@tanoybhowmick8715
@tanoybhowmick8715 2 жыл бұрын
Informative, thanks.
@davidpccode
@davidpccode 3 жыл бұрын
wow!! great content, great explanation.. super clear!!! thanks!
@senthilkumarvaidyanathan5553
@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
@antonimihailov8046
@antonimihailov8046 4 жыл бұрын
Great content! My new favorite channel!
@hnasr
@hnasr 4 жыл бұрын
Thanks Antoni 😍😍
@kreassiva9138
@kreassiva9138 2 жыл бұрын
Great improvement in quality
@elijahlair
@elijahlair 9 ай бұрын
Great video. Thanks
@ChengZhao
@ChengZhao 4 жыл бұрын
Great video with easy to understand explanations!
@hnasr
@hnasr 3 жыл бұрын
Glad it was helpful!
@florianvanbondoc3539
@florianvanbondoc3539 5 ай бұрын
Amazing tutorials, it makes sense
@Wayne.416
@Wayne.416 4 жыл бұрын
Thanks for all the amazing content, Hussein. A video on Traefik would be nice.
@hnasr
@hnasr 4 жыл бұрын
Wayne this is one of the most requested topic! I need to prioritize it! Thank you 😊
@naderreda2020
@naderreda2020 2 жыл бұрын
Thank you much..... you create really great videos.......
@JoaoPedroMDP
@JoaoPedroMDP 2 жыл бұрын
Amazing content. Thankssss!!!!!!!!
@Roozbeh49463
@Roozbeh49463 3 жыл бұрын
thanks i love your teaching
@shubham123456yadav
@shubham123456yadav 4 жыл бұрын
It was interactive and very light even then the explanation looked detailed. I wanted to refresh few facts. Really nice watching it. 😉
@hnasr
@hnasr 4 жыл бұрын
Shubham yadav thank you Shubham!! Appreciate it. I might have put too many animations 😅
@saoudahmedkhan2549
@saoudahmedkhan2549 Жыл бұрын
Love you bro you are my true mentor
@spacepacehut3265
@spacepacehut3265 7 ай бұрын
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.
@fashionvella730
@fashionvella730 6 ай бұрын
Same here 😅
@MrRoBot-wn4kp
@MrRoBot-wn4kp Жыл бұрын
you are the best..
@user-mo3cw6go7c
@user-mo3cw6go7c 3 жыл бұрын
Cool animations very valuable information
@tuanousman8318
@tuanousman8318 3 жыл бұрын
fantastic!
@shivamsahi8160
@shivamsahi8160 Жыл бұрын
i love this youtube channel
@hamidja1537
@hamidja1537 Жыл бұрын
Thanks for sharing
@pablohernandez4305
@pablohernandez4305 3 жыл бұрын
thanks for this videos
@zahrasadeghibogar
@zahrasadeghibogar 4 жыл бұрын
excellent as always
@hnasr
@hnasr 3 жыл бұрын
Thank you! Cheers!
@Masterjabol
@Masterjabol 4 жыл бұрын
I like this icons, there are much better to remember Use Cases :)
@hnasr
@hnasr 4 жыл бұрын
Thanks 😊 took me a while to do them am a terrible designer
@emanuel0723
@emanuel0723 3 жыл бұрын
@@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
@WeiLiuhaha
@WeiLiuhaha 2 жыл бұрын
The image is king!
@Babe_Chinwendum
@Babe_Chinwendum 3 жыл бұрын
Thank you so much
@modularmoon
@modularmoon Жыл бұрын
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 ?
@ovebepari6682
@ovebepari6682 Жыл бұрын
You don't need to animate if it takes a good chunk of your time. Your explanations are good enough with static icons even.
@SajidAli-ub6th
@SajidAli-ub6th 3 жыл бұрын
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.
@Bash11
@Bash11 3 жыл бұрын
Thank you
@starterdev
@starterdev 3 жыл бұрын
This video is excellent, thanks
@hnasr
@hnasr 3 жыл бұрын
Glad you enjoyed it!
@chinmaysingh513
@chinmaysingh513 3 жыл бұрын
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?
@seyeonkim6646
@seyeonkim6646 2 жыл бұрын
Thank you, how did you make your animation? It's just SO helpful
@sgcatr
@sgcatr 2 жыл бұрын
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?
@shafiemukhre
@shafiemukhre 3 жыл бұрын
5:15 this is gold. In the reverse proxy, the client doesn't know the final destination
@CodePathshala
@CodePathshala 2 жыл бұрын
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 :)
@ronityadav3936
@ronityadav3936 3 жыл бұрын
watching his videos since 2k subs..
@nikhilshinde2091
@nikhilshinde2091 3 жыл бұрын
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 3 жыл бұрын
Thanks Nikhil! Appreciate your comment, and welcome to the channel 🙏 I use canva to do the animation
@thundrking
@thundrking Жыл бұрын
Thanks!
@hnasr
@hnasr Жыл бұрын
Thanks for the support!
@lord12790
@lord12790 4 жыл бұрын
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 4 жыл бұрын
Thanks ! Yes Service Mesh is on my agenda
@vincentsaiwa6415
@vincentsaiwa6415 3 жыл бұрын
I like it
@alimeraj9992
@alimeraj9992 4 жыл бұрын
As always very informative for me. Sir can you please upload videos on load balancing
@hnasr
@hnasr 4 жыл бұрын
Thanks Ali! Check out my load balancers playlist Load Balancing & Proxies kzfaq.info/sun/PLQnljOFTspQVMeBmWI2AhxULWEeo7AaMC
@Oswee
@Oswee 4 жыл бұрын
:) 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 4 жыл бұрын
Agree! A very critical thing for engineers 👩‍💻 to know
@rukyp
@rukyp Жыл бұрын
thx
@ubaidshahid5123
@ubaidshahid5123 3 жыл бұрын
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 3 жыл бұрын
ubaid shahid thanks! Yeah I made a couple Fail-over and High-Availability (Explained by Example) kzfaq.info/get/bejne/kM2pZNCatdm4fqc.html Setup Active-Passive Cluster with Keepalived & HAProxy (Two raspberry pis) kzfaq.info/get/bejne/hM-qhaecudzciqM.html Active-Active vs Active-Passive Cluster Pros & Cons kzfaq.info/get/bejne/mpNymcxm1t_bdqM.html
@Daniel-bb3pf
@Daniel-bb3pf Жыл бұрын
Merci
@gloriabernard7720
@gloriabernard7720 2 жыл бұрын
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.
@joelvarghese3370
@joelvarghese3370 Жыл бұрын
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?
@Ghostface.14
@Ghostface.14 4 жыл бұрын
fucking brilliant video mate, thanks so much
@juancarlossolermartin7760
@juancarlossolermartin7760 3 ай бұрын
Hello Hussein, What are the most relevant HTTP header values ​​for a proxy? Server, Date, Content-type, Expires or Last-Modified?
@packetshark
@packetshark 4 жыл бұрын
Good explanation. What tool did you use to create the video?
@hnasr
@hnasr 4 жыл бұрын
Animesh Gupta hey I used Canva 🙏
@Meleeman011
@Meleeman011 3 жыл бұрын
reverse proxy is badass trully
@AMITASHUKLA0906
@AMITASHUKLA0906 2 жыл бұрын
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" ??
@achang28
@achang28 2 жыл бұрын
“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.
@serverplaform
@serverplaform 2 жыл бұрын
@hussein Nasser: could please give difference between canary and A/B testing ??
@rpanda_old
@rpanda_old 5 ай бұрын
so is spring cloud gateway a type of reverse proxy ingres use case ?
@hpandeymail
@hpandeymail 2 жыл бұрын
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 ..
@LawZist
@LawZist 4 жыл бұрын
Hey Hussein Great tutorial (as always)! I would suggest using less graphics :)
@hnasr
@hnasr 4 жыл бұрын
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 4 жыл бұрын
​@@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 ?
@pranjalagnihotri6072
@pranjalagnihotri6072 3 жыл бұрын
So does it means all the Loadbalancers implements reverse proxy architecture?
@cloudserviceservice7132
@cloudserviceservice7132 4 жыл бұрын
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 4 жыл бұрын
cloud service service i have a video on SSH tunneling coming soon that might help you achieve this
@cloudserviceservice7132
@cloudserviceservice7132 4 жыл бұрын
@@hnasr Thank you, Sir.
@sevm7792
@sevm7792 Жыл бұрын
It seems as though it is time to follow the pattern and make a new version of the video.
@jitenanand9535
@jitenanand9535 Жыл бұрын
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
@wasiahmad8642
@wasiahmad8642 2 жыл бұрын
Can you suggest some books to learn about proxy and reverse proxy? Can't afford web courses might find books for free :)
@mrunaldave6781
@mrunaldave6781 3 жыл бұрын
Great content. One feedback, I found the moving icons to be very distracting. Please keep them static!!
@elijahlair
@elijahlair 9 ай бұрын
If vpn doesn’t give full anonymity, what does or is full anonymity possible?
@mahmmoudkinawy2783
@mahmmoudkinawy2783 Жыл бұрын
Thank you a lote Hussein
@RonsonXaviour
@RonsonXaviour 2 жыл бұрын
RFC number for forward proxy? 👀
@zaarare
@zaarare 3 жыл бұрын
i have a Irrelevant question : whats your slides maker software?😅
@tahirraza2590
@tahirraza2590 2 жыл бұрын
My first thought: What’s the difference between proxy and a VPN gateway?
@supersu6138
@supersu6138 2 жыл бұрын
Haha Hussein ikwum 😂😂
@ravitejavankam2977
@ravitejavankam2977 3 жыл бұрын
Can VPN be an example of proxy
I CAN’T BELIEVE I LOST 😱
00:46
Topper Guild
Рет қаралды 72 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 3,8 МЛН
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 4,9 МЛН