Proxy Server
Also known as: Proxy, Forward proxy
Intermediary server that forwards requests between clients and other servers, used for caching, filtering, load balancing, privacy and access control.
A proxy server sits between a client, such as a web browser, and the servers it wants to reach, making requests on the client's behalf and passing back the responses. A forward proxy acts for users, typically inside an organization or for privacy purposes, so that destination servers see the proxy's address rather than the user's. A reverse proxy works the other way, sitting in front of web servers to handle incoming requests for them. Proxies operate at different layers, from HTTP proxies that understand web traffic to general-purpose SOCKS proxies.
Proxies became common in the 1990s as organizations used them to cache frequently requested web pages, saving scarce bandwidth, and to control and log employee web access. Reverse proxies and load balancers such as NGINX distribute traffic, terminate TLS connections and shield back-end servers, and content delivery networks are essentially global networks of reverse proxies. Schools and companies use filtering proxies to block categories of sites. Some governments use proxy infrastructure for censorship, and people in turn use proxies and related tools to circumvent such restrictions.
As a privacy tool, a proxy hides the user's IP address from the destination, but it differs from a VPN in usually handling only specific applications and, for plain HTTP or SOCKS proxies, in not encrypting traffic between the user and the proxy. The proxy operator can see and potentially alter what passes through it, so free and unknown proxies carry a real risk of data theft and injected content. Attackers also abuse proxies to hide the origin of automated attacks. Choosing reputable, encrypted options and understanding what each tool hides are central to sound OPSEC.
Key points
- A proxy forwards requests on a client's behalf, so destination servers see the proxy's address.
- Forward proxies act for users, while reverse proxies sit in front of servers.
- Organizations use proxies for caching, filtering, logging and load distribution.
- Unlike most VPNs, many proxies do not encrypt traffic, and untrusted proxies can see and alter data.
Related entries
Reverse Proxy
Server that sits in front of one or more backend servers, receiving client requests on their behalf and forwarding them to the right destination.
Virtual Private Network
Technology that creates an encrypted tunnel between a device and another network, protecting traffic on untrusted links and connecting remote users securely.
NGINX
Free and open-source web server, reverse proxy and load balancer built on an event-driven design that handles many concurrent connections efficiently.
Content Delivery Network
Geographically distributed network of servers that caches and delivers web content from locations close to users to improve speed and reliability.
Onion Routing
Technique for anonymous communication in which traffic is wrapped in layers of encryption and relayed through several servers that each remove one layer.
Firewall
Security control that monitors network traffic and allows or blocks connections according to a set of rules, separating trusted and untrusted networks.
Load Balancer
Device or software that distributes incoming network traffic across multiple servers to improve capacity, responsiveness and availability.
OPSEC
The practice of protecting critical information by denying adversaries insight into one's activities, intentions, capabilities or vulnerabilities.
Referenced by
Other entries that discuss or point to Proxy Server.