//
A Proxy Server is an intermediary server that sits between a client and a destination server. Instead of the client communicating directly with the server, the request first passes through the proxy. There are two fundamentally different types.
A Forward Proxy sits in front of the client and acts on behalf of the client.
When a client wants to access example.com, the request goes to the Forward Proxy first. The proxy forwards the request to example.com using the proxy's own IP address. The origin server sees the proxy's IP, not the client's.
news.com, the forward proxy can cache the page after the first request and serve it locally to the other 99, saving bandwidth.A Reverse Proxy sits in front of the server and acts on behalf of the server. The client has no idea a reverse proxy exists. It thinks it's communicating directly with the origin server.
| Feature | Forward Proxy | Reverse Proxy |
|---|---|---|
| Sits in front of | Client | Server |
| Acts on behalf of | Client | Server |
| Client aware? | Yes, client configures it | No, client doesn't know |
| Hides | Client's identity from server | Server's identity from client |
| Examples | VPN, Squid Proxy | Nginx, Cloudflare, AWS ALB |