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
Get my Fundamentals of Networking for Effective Backends udemy course Head to network.husseinnasser.com (link redirects to udemy with coupon)
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
2 жыл бұрын
11 mins in one word. I stayed longer because of the benefits though.
@anveshreddy2150
2 жыл бұрын
Not only anonymous there are much things you can do with proxy
@Ham-pb7pb
2 жыл бұрын
@@anveshreddy2150 What else can you do with a proxy?
@dartz7137
2 жыл бұрын
@@Ham-pb7pb Caching?
@proscience1226
2 жыл бұрын
@@Ham-pb7pb Load Balancing, Caching, Security because you can hide a lot of your servers who works together behind the reverse proxy, ...
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
3 жыл бұрын
Great explanation! Thanks!
@himanshukushwah5211
3 жыл бұрын
Thanks Dimitri
@ragavnitinpande5612
3 жыл бұрын
Bro, your 5 magical line explained everything
@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
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
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
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
5 жыл бұрын
abdallah dhaou Thats is amazing! Very happy I could help. Best of luck and thanks for the summary
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
4 жыл бұрын
Thq
@danchisholm1
4 жыл бұрын
thanks for the timestamps. great video!
@michaelparfitt8533
4 жыл бұрын
@@danchisholm1 . .l .h . .
@michaelparfitt8533
4 жыл бұрын
@@jegadhesankannan4262 The . . M .
you dont want the servers knowing who you are = forward proxy you dont want the clients knowing who you are = reverse proxy
I like the line "server doesn't know which client" and "client doesn't know which server" ... well explained.
You did a really good job explaining the difference between these two. Help me a lot, Thanks man.
When I want to learn a backend concept, you're always my first choice man. Amazing explanation!
Thank you for simplifying matters. It shows u know a lot to be able to do this. well-done!
@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!
Thanks for such a good content !! I was very confused between proxy and reverse proxy earlier but now its clear :p
@hnasr
5 жыл бұрын
Priya Yadav glad I could help Priya. Thanks for your comment :)
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
5 жыл бұрын
Namah Shrestha im humbled, thank you for your lovely comment.
Great explanation! Simple and concise. Keep up the good work!
@hnasr
4 жыл бұрын
Thanks Angel!!
Great explanation! Finally understand the difference between the two now. Not too difficult :)
@hnasr
5 жыл бұрын
sammyiboi really glad I could help :) yes difference is simple! have a great day and thanks for your comment
Superb content, just subscribed. We need a "Proxy killed democracy" t-shirt!
Crisp and beautifully explained. Thank you.
the one video that gave enough clarity on what a reverse proxy actually meant. thanks mate.
Thanks for this simple explanation.
Thanks for the very lucid explanation. I did not know about reverse proxies until I heard you. Thanks again.
@hnasr
4 жыл бұрын
Thanks Guruaj for your message. Glad I could help! Cheers
THANK YOU SO MUCH. Love the visual. Always getting this confused before.
@hnasr
4 жыл бұрын
Thanks Jeff! I used to get confused about this all the time as well that is why I made this video
This is the most crystal clear explanation of the differences. Thank you Hussein.
@hnasr
4 жыл бұрын
❤️❤️
"Basically we kill democracy, that's what we do " 😂😂😂
@jonathandagan8855
2 жыл бұрын
Had it paused at 4:48 and resumed it just to get surprised by this amazing line
I seriously want you to make a course on all the in-depth concepts you know in back-end engineering 🤩🤩
This was a very useful content. Thanks for making this video!
Very simple explanation. Thank you!
Very clear explanation. Thank you IGeometry!
Excellent explanation you did it better then my university’s teacher. Thank you very much!
Thanks for this nice video, Mr. Hussain. Expecting a lot more videos from you.
We killed democracy is what we do 😂😂😆
@hnasr
5 жыл бұрын
Patrick Doneld someone made it to the end of the video 😂
@LuisSierra42
4 жыл бұрын
@@hnasr I did as well
@susanthakumara2223
4 жыл бұрын
China comes to mind
Thanks. Very simple and easy to understand explanation.
@hnasr
5 жыл бұрын
Edgardo Rivera thank you for watching happy i could help.
Thanks for making this video. Nicely paced and easy explanation.
Good video man! Learned a lot!
You made this video so much fun to watch.
Explained really really clearly. Thank you for sharing!
Great video. I am hosting an application and was wondering what reverse proxy was. Thank you!
@hnasr
5 жыл бұрын
Yashasvi glad the video was useful :)
Very good content presented in an easy-to-grasp manner. Subscribed!
@hnasr
4 жыл бұрын
Radu Nițescu thanks Radu!! Enjoy the content 😊
Simple and clear explanation. Great video.
@hnasr
5 жыл бұрын
innovation-streams thank you so much!
Informative and I appreciate the info as to why a proxy and reverse proxy can be beneficial.
@hnasr
5 жыл бұрын
David Condit thank you 😊
Best explanation I've ever seen. Thank you
Sir I must say your videos are pure gold.
Best sentence in a Video About Proxys: "Besically we killed Democracy"
@aftalavera
4 жыл бұрын
Eternal struggle!
@propertyguru22
3 жыл бұрын
Correct spelling is Basically not Besically.
Hussein you are killing it ! thanks
Great explanation, thank you!
@hnasr
5 жыл бұрын
n1ghthawkx thanks for watching appropriate it
Thank u Bro for the clear explanation of reverse proxy. go ahead
@hnasr
5 жыл бұрын
kavin tharun thank you for watching 😊
Good video. Good visualization! Thanks
Explained so well. Thank you..!!! Subscribed...!!!
@hnasr
5 жыл бұрын
Pranav Bhardwaj thanks for watching! And welcome to the channel
Great video Hussein. Very clear and simplified.
@hnasr
4 жыл бұрын
Thanks Brian Appreciate it !!
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
2 жыл бұрын
Well said, nice summary
Another great video! Thank you and rock on! :)
Very funny, easy to understand and epic voice :D
Great summation. Thank you.
@hnasr
5 жыл бұрын
Sebastian Robertson happy to help
Thanks for the clear explanation!
Well explained bro (That's why subscribed). Thanks a lot. Keep it up.
Thank you so very much for such a great explanation! It was so easy to understand and apply!! :)
@hnasr
3 жыл бұрын
I'm so glad!
Nice Article with advantage of each option. Thank you.
@hnasr
5 жыл бұрын
Swapnil Pednekar thanks for watching! Glad I could help
really helpful and professionally explained GJ
@hnasr
5 жыл бұрын
Thank you very much :) Really glad you enjoyed the content.
this video is much beneficial for me nice explain m fro, india love u
@hnasr
5 жыл бұрын
zero axis glad you enjoy it! all the love to my indian subs ❤️
Perfect explanation!
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!
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.
Thank you for this explanation @hussein Nasser
Great video explained in simple way on. Reverse proxy 👍
Nice explanation, now I know how nginx works. Thanks from Brazil.
@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?
Thanks a lot!! Amazing explanation! A++
Explained in best way....
Best explanation on KZread
@hnasr
5 жыл бұрын
I’m humbled thanks for watching!
Very clear explanation.. Thanks a lot for your efforts.
Subscribed! Really great content. Concepts explained so beautifully. Thanks
@hnasr
3 жыл бұрын
🙏🙏
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
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
thank for perfect explanation bro
Great video. Excellent explanation!
Thank you very much for such an awesome tutorial
great explanation! most of tech is just vocabulary, when you understand its just common sense.
@hnasr
4 жыл бұрын
articulate exactly everything is common sense. Explaining a concept with another complicated concept just confuses me so I like to simplify things
Dude, seriously funny! Thanks!
Thanks for this short and good explanation that helped me a lot!
@hnasr
3 жыл бұрын
Glad it helped Appreciate you
Thank you. You make it look so easy. :D
@hnasr
5 жыл бұрын
Thanks for watching. I try 😊 its a complex topic
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
Awesome explanation!! Thanks!
Elegantly (and humorously) explained!
@hnasr
4 жыл бұрын
Thank you Steve !!
Best video on proxies out there
Nice one Husso thanks from Brazil
@hnasr
4 жыл бұрын
Love all my subs from Brazil 🇧🇷❤️
Great Explanation!
@hnasr
5 жыл бұрын
Olga Yazovskaya thanks! Glad you liked the video
This is great...!!!!!!! Thank you for your video!
Thank you very much for this video. Best Regards!
Pretty pretty nice explanation Hussein!!!!
Best explanation with diagram.
Thanks for this video.... Nicely explained 😀
Such nicely explained.. thanks
very nice explanation. Thank you.
great, simple explanation!
i did not know about gliffy, pretty cool.
Nice video, easily comprehensible definition... So, Haproxy is a "reverse proxy" typed application and it works as "loadbalancer"
Thank you for demystifying this.
Super helpful. Kudos!
Great video friend, thanks!
As always Great content with clear explications.
Thanks for explanation !!!
@hnasr
5 жыл бұрын
Vong Sophanith your welcome 🙏
Nice video! I appreciated the humor. 🐿😎
I would have loved to understand the impact of session and cookies if any in case of proxies.