TodayTools

Compare protocols

Forward proxy vs reverse proxy: who each one works for

Donate
What brings you here?

The difference at a glance

Forward proxy

Forward proxy with CONNECT

Best for: Offices and schools going out

Sits in front of users and goes out to the web for them.
  1. Request, from Office laptop
  2. Page, from Websites

Reverse proxy

Reverse proxy and load balancer

Best for: Sites with several app servers

Sits in front of servers and shares the visitors out.
  1. Request, from Visitor
  2. Page, from App servers

The short answer

A forward proxy sits in front of users and fetches the web for them, so sites see the proxy instead of each user. Companies and schools use one to filter and cache. A reverse proxy sits in front of servers and takes requests for them, so users see one front door. Websites use one for TLS, load balancing, caching and protection.

Which one fits you?

Tick everything that is true for you.

What do you need?

Your pick shows here

Tick one or more lines and we weigh them for you.

Forward proxy and Reverse proxy side by side

Forward proxy vs reverse proxy: differences row by row
What differsForward proxyReverse proxy
Works forThe users (clients)The website (servers)
Who sets it upThe user's network or browserThe site owner
Client knows it is thereYes, it is set in the browser or systemNo, it looks like the site itself
HidesThe user's IP address from sitesThe real servers from users
Common jobsFiltering, logging, caching, sharing one exitTLS, load balancing, caching, blocking attacks
HTTPSTunnels it with CONNECT, cannot read itEnds TLS itself and reads every request
Typical ports3128, 8080443 and 80

Watch each one work

Each page plays the real packets on a map, step by step, with every header explained.

Test yourself

Each line describes one of the two. Which one?

Question 1 of 7

Works for

The users (clients)

Questions people ask

Is a load balancer a reverse proxy?

An HTTP load balancer is a kind of reverse proxy: it takes each request and picks a server. Some load balancers work lower down on TCP and do not read HTTP at all.

Is a VPN a forward proxy?

Not exactly. A VPN carries all of a device's traffic in an encrypted tunnel. A forward proxy only handles apps set to use it and does not encrypt by itself.

Can one server be both?

Yes. The same proxy software can act as a forward proxy for staff and a reverse proxy for public sites. The role depends on who it serves.

Does a reverse proxy see my password?

Yes, if it ends TLS, which most do. It decrypts each request to route it, then passes it to the app server, often over a private network.

More comparisons

Donate