Proxy server

A proxy server (or proxy) is an intermediate server in a computer network. It acts as an intermediary between a user device (client) and a target server on the internet. It can receive information and requests from both the client and the server.

A proxy server can be either a separate device or specialized software.

How proxy servers work

If a proxy server is deployed and a client computer needs to access a resource, instead of communicating directly with the target, it sends a request to the proxy. The proxy server receives and validates the request, checks the permissions, opens a new network connection to the target resource, and makes the request to it. On receiving the requested data or an error message from the target server, it returns the response to the client.

Using proxy servers

Proxy servers are deployed for a number of purposes, including:

  • Caching. A proxy server can store copies of frequently requested pages or files, which reduces both the load on the target server and the response time.
  • Anonymity. A proxy server accesses the target server from its own IP address, thus keeping the true origin of the request hidden from the target server.
  • Security. Proxy servers can be used as a layer between a local network and the internet to filter out malicious traffic (for example, DoS or DDoS attacks), as well as prevent unauthorized access to the local network from outside.
  • Content filtering. Proxy servers can block access to certain websites or content (for example, to implement parental control or an organization’s information security policy).

A standard proxy server does not support end-to-end encryption of traffic between the client and the target server. This limitation makes it vulnerable to man-in-the-middle attacks, where an attacker intercepts messages between the client and the server for the purpose of spoofing requests and responses, stealing confidential data, etc.

Types of proxy servers

The main types of proxy servers can be distinguished by the protocols they use:

  • HTTP(S) proxy. Used to transmit HTTP requests. HTTPS proxies support secure connection via SSL certificates, while data exchange via HTTP proxies is unencrypted.
  • SOCKS5 proxy servers. SOCKS is a special protocol for transferring data through a proxy server. As of 2025, the current version is SOCKS5. Unlike HTTP, which runs on top of the TCP protocol, SOCKS5 supports both the TCP and UDP

In terms of structure and operating principles, proxy servers are divided into the following types:

  • Direct proxy server. Works on the client side and redirects requests to the target server in an external network. There are two types of direct proxy servers:
    • Explicit or non-transparent proxies are specified in the client’s network configuration and hide its IP address from the target server.
    • Transparent proxies differ from non-transparent in that they do not change client requests in any way, which includes keeping the client’s IP address in them. Because a transparent proxy server is configured by a system administrator or internet provider, users and clients may not even know about it.
  • Reverse proxy server. Works on the server side and redirects external client requests to one or more servers located in a LAN. From the client’s point of view, the requested resources are located directly on the proxy server.

Related Posts