Forward Proxy vs Reverse Proxy

By Pradyumna Chippigiri

January 19, 2026


Let's start with a very simple analogy to understand both proxy types, and then we'll understand what they are and why they are used.

Simple Analogy for Client-Side Proxy

Client-side proxy analogy

Imagine you are a very famous person, and you want to buy vegetables for cooking, but you do not want anyone to recognize you. So you send your personal assistant to the store to buy them for you. The store owner only sees the assistant, sells the vegetables, and has no idea who they are actually for. In other words, your assistant is hiding your identity from the outside world.


Here:

So a forward proxy sits between the client and the internet, makes requests on behalf of the client, and helps hide the client's identity (plus it can apply rules like allow/block/log if needed).

Simple Analogy for Server-Side Proxy

Server-side proxy analogy

When you go to a restaurant and want to order food, you do not walk into the kitchen and talk to the chefs directly, right? Instead, you place your order with the waiter/host. They check the menu, make sure the order is valid, and then pass it to the chef so it can be prepared.


In this scenario:

So the reverse proxy's job is to sit in between and make sure the client does not interact with the server directly, it accepts the request, applies rules/filters if needed, and forwards it to the right server. The reverse proxy (the host/waiter) is protecting and managing the kitchen (server) from bad/too many/invalid requests.

Hope you got a fair understanding with this analogy, but now let's dive in.

What is a Proxy?

Proxy is nothing but a machine that sits between two systems. A proxy terminates the incoming connection and initiates a new, separate connection to the destination.


It acts like an intermediate layer that can:

Common misconception is that it can be only between a client and a backend servers, but it can also be between two backend servers.


Depending on the kind of proxy that we are using in our system, it will have different applications:

  1. Forward Proxy: This type of proxy is used to protect the clients accessing the websites via the internet.
  2. Reverse Proxy: This type of proxy is used to guard the web servers from the clients trying to access websites via the internet.

Let's understand each of them in depth.

Forward Proxy (Client-Side Proxy)


Forward Proxy (also called a client-side proxy or internet-facing proxy) sits between the client and the internet (for example, between your browser and a website). So whenever your browser makes a request, it sends (in plain text without encryption) that request to the forward proxy first.


The forward proxy can decide whether to allow it, block it, or route it to the correct destination server.

Then the destination server sends the response back to the forward proxy, and the forward proxy forwards that response back to your browser.


So the forward proxy's job is to act as a middleman for the client, it can hide the client's real identity (IP) from the internet and also control/log what the client is allowed to access.

Forward proxy diagram


Advantages of Forward Proxy


Real world example:


Usually used in organizations/educational institutions/country when they want to stop people from seeing certain content, they use a proxy. Every request you make must pass through this point. If you try to access a blocked service, the proxy spots it and stops the connection instantly based on certain rules and policies set up on the proxy.


This allows these organizations or even an entire nation to enforce strict rules on what is allowed inside their network.

Reverse Proxy (Server-Side Proxy)


A Reverse Proxy (Server-Side Proxy / internal-facing proxy) sits between the internet and the web servers (the destination). When a user makes a request to a website, the request hits the Reverse Proxy first. The proxy then decides which backend server should handle the request.


Once the server finishes the job, it sends the data back to the proxy, which then passes it back to the user.

While a forward proxy acts as a middleman for the client, a reverse proxy acts as a middleman for the server. It hides the servers' real identity and protects them from the internet. It abstracts away the complexity of the downstream systems.

Reverse proxy diagram


Advantages of Reverse Proxy


Example:

Reverse Proxy can be all of these, but all of these cannot be a reverse proxy.

Industry-standard reverse proxies: Nginx, HAProxy, Kong Gateway, ProxySQL

Some must-know differences when it comes to this topic would be:

Proxy vs VPN


Proxy vs Firewall


Hope you liked this article.