A reverse proxy server sits in front of backend infrastructure to protect servers, balance loads, and offload processing tasks such as encryption, compression, and caching. Unlike a forward proxy, which shields clients from external servers, a reverse proxy shields backend servers from direct client exposure.
Reverse Proxy Servers
A proxy server creates an in-between, in between a user and a server. Largely what it does is help protect those end users by doing maybe some sort of web filtering, or perhaps it's doing some sort of malware filtering, or there are other services that it provides. But we can also use it on the server side, and that's what we're going to talk about here: a reverse proxy server.
If I wanted to set up some sort of web filtering, then maybe I would set up a proxy server. I would block all other web traffic from going through the firewall unless it's coming from the proxy server. Now users on my network have to go through the proxy server in order to get out to the outside world, and then I can do web filtering on this proxy server. It's just one example of how we can protect our network and our infrastructure and our organizations.
In this scenario, what's happening is that the client is actually connecting to the proxy server, and the proxy server is creating a connection to the web server. So now what the web server sees is just the information coming from the proxy server. They don't see the client — it obfuscates the client on the back end. So not only are we doing web filtering, but we're protecting this client. This would be what we call just a forward proxy server.
But there are reverse proxy servers as well. That's where the proxy server is sitting out in front of the server. So now, as an organization, we do see the end client here and we're communicating with the end client, but the end client doesn't see the server on the back end. It's just a different perspective of this. It's still sitting between the client and the server, but it's working to protect the servers on the back end, not necessarily protecting the client on the front end.
Here would be a common reverse proxy setup. We have our server right here that's set up in front — this is the proxy server. End users would then be connecting, maybe, if this is a web server, to port 443 on this front end, and then this is making a connection to other back-end servers.
There are many reasons why we would want to set up a proxy server in front of this bank of servers that we have.
There are lots of things that we could offload to this proxy server. Whatever the case may be, a lot of this is just offloading some sort of aspect. For instance, these servers may be overtaxed and have a lot going on on them, and so instead of sending clients directly to these machines, this might offload some of those aspects, like doing the encryption or compression or those types of duties.
TechKnowSurge builds IT and cybersecurity professionals through hands-on, concept-first training built around real understanding — not memorization. Free interactive tools, structured programs, and 25+ years of real-world experience, all in one place.
Explore free tools and programs →