Differences Between Proxy Servers (Forward Proxy), Reverse Proxy Servers, and Gateway Servers

Overview

This post summarizes the differences between proxy servers (forward proxy servers), reverse proxy servers, and gateway servers.

What is a Proxy Server (Forward Proxy Server)?

A server placed between a client and a server that acts as an intermediary for their communication. It handles requests on behalf of the client.

Client → Proxy Server → Internet → Server

The benefits include:

  • Log collection
  • Caching
  • Virus protection
  • Filtering (access control)
  • Ensuring anonymity

What is a Reverse Proxy Server?

A server placed between a client and a server that acts as an intermediary for their communication. It handles requests on behalf of the server.

Client → Internet → Reverse Proxy → Server

The benefits include:

  • Log collection
  • Caching
  • Virus protection
  • Load balancing
  • SSL offloading
  • Protection against unauthorized access

What is a Gateway Server?

A server placed between a client and a server that intermediates and controls network or protocol conversion between them.

The difference between a proxy server (forward proxy server) and a reverse proxy server is that a proxy "acts on behalf" of communication, while a gateway "enables" communication.

Summary

Forward proxy servers, reverse proxy servers, and gateway servers differ in their placement and whether they act as intermediaries or controllers of communication.

References