What is the purpose of a forward proxy?
It acts as an intermediary for requests from the client to the server.
What three functions do forward proxies provide?
They provide:
- Anonymity (hides client identity)
- Content Filtering (access control for preventing specific requests)
- Caching (frequent requests can be cached at the proxy)
What scenario might a warrant a forward proxy?
A company preventing access to specific websites for their employees (and caching those frequently accessed).
What’s the purpose of a reverse proxy?
It’s an intermediary between the client and server that provides anonymity for the server.
What three primary functions does a reverse proxy provide?
It provides:
- Load Balancing (distributed traffic to balance load among backend services)
- Security / Anonymity (anonymity is provided for the server, handles SSL termination so backend doesn’t have to)
- Caching / Compression (improves response performance)
What’s a scenario that might warrant a reverse proxy?
A high-traffic website may use a reverse proxy to improve performance (via load balancing, caching), security (SSL termination), etc.
How do forward and reverse proxies differ in their handling of traffic?
Forward are client-facing (outgoing) and reverse are server-facing (incoming)