Interview Prep/Networking/Load Balancers, Proxies & CDNs

What is a reverse proxy and how is it different from a forward proxy?

BeginnerConceptLoad Balancers, Proxies & CDNs
Answer

A reverse proxy sits in front of servers and represents them to clients: nginx, HAProxy, Envoy, ALB. It handles TLS, caching, routing and protection. A forward proxy sits in front of clients and represents them to the internet: Squid, corporate egress proxies.

Same technology, opposite direction. Reverse proxies protect servers; forward proxies control and log client egress.

All Networking questions Roadmap: Networking for DevOps

More on Load Balancers, Proxies & CDNs