Forward Proxy vs Reverse Proxy
- Networking Fundamentals & OSI Model
- TCP/IP Model
- Network Topologies
- IP Addressing & Subnetting
- Routing Algorithms & Protocols
- Switching Concepts
- Transport Layer Protocols (TCP & UDP)
- Application Layer Protocols
- Network Security & Firewalls
- Wireless Networking & Wi-Fi
- Network Address Translation (NAT)
- DNS Deep Dive
- Congestion Control & Flow Control
- Error Detection & Correction
- Network Devices
- VPN & Tunneling
- Load Balancing & CDN Networking
- Socket Programming
- Network Troubleshooting Tools
- Physical Layer & Transmission Media
- Data Link Layer & MAC Addressing
- Ethernet Protocol
- ARP (Address Resolution Protocol)
- ICMP Protocol
- Unicast, Multicast, Broadcast and Anycast
- Proxy Servers
- Port Numbers Reference
- Network Performance Metrics
- Quality of Service (QoS)
- Software-Defined Networking (SDN)
- HTTP/2 and HTTP/3 Overview
- 5G and Mobile Networks
- IoT Networking Basics
- VoIP Networking Basics
What a Proxy Server Does, in General
A proxy server sits between a client and a destination, forwarding requests on the client's behalf rather than the client connecting directly - the destination sees the proxy, not the original requester.
Forward Proxy: Representing the Client
Client ----> [ Forward Proxy ] ----> Internet / Destination ServerA forward proxy sits in front of clients, forwarding their outgoing requests to the internet. From the destination server's perspective, the request appears to come from the proxy, not from the original client - commonly used by organizations to filter, monitor, or control employees' outbound internet traffic.
Reverse Proxy: Representing the Server
Client ----> [ Reverse Proxy ] ----> Backend Server(s)A reverse proxy sits in front of one or more servers, receiving incoming client requests and forwarding them to the actual backend server(s). From the client's perspective, they're simply talking to "the website" - they have no visibility into how many actual servers exist behind that reverse proxy.
The Core Distinction: Whose Side Is It On?
| Forward Proxy | Reverse Proxy | |
|---|---|---|
| Sits in front of | The client | The server(s) |
| Hides | The client's identity from the destination | The backend server's details from the client |
| Typical use | Corporate outbound traffic filtering | Load balancing, caching, security for a website |
How This Connects to Load Balancing
A reverse proxy is closely related to (and often implemented as part of) the load balancing concept covered earlier in this project - many real-world load balancers are, technically speaking, a specific and common application of reverse proxying.