What is a reverse proxy?

A reverse proxy accepts requests from the internet and forwards them to the right servers on your own network – with certificates, load balancing and protection in one central place.

Illustration of interfaces and system integration

A reverse proxy is a server that accepts requests from the internet on behalf of the actual web servers on the internal network and forwards them. To visitors it looks as if the response came directly from the reverse proxy – which server actually produced it stays hidden.

Reverse proxy vs. forward proxy

A classic forward proxy sits in front of the clients: PCs on the company network use it to access the internet, for example so that access can be filtered. A reverse proxy, in contrast, sits in front of the servers and represents them to clients from outside. The direction is reversed – hence the name.

Typical tasks

  • Several web applications, one public IP: the reverse proxy uses the host name or path to tell whether a request belongs to webmail, the ticket system or the website, and forwards it to the right server.
  • TLS termination and certificates: the HTTPS connection ends at the reverse proxy. Certificates are managed there centrally instead of on every single server.
  • Load balancing: requests are distributed across several identical servers; health checks let the proxy detect failed servers and take them out of rotation.
  • Protection: rate limiting slows down clients that generate too many requests or failed attempts, block lists stop known attackers, and internal servers cannot be reached directly from the internet.

Common solutions

On Windows, IIS with the Application Request Routing and URL Rewrite extensions can act as a reverse proxy. On Linux, nginx and HAProxy are widely used; both are open source and are often used for load balancing as well. In addition, many firewalls and cloud services offer reverse proxy features. Which solution fits depends mainly on your existing environment and requirements.

Good to know

Because all requests pass through it, the reverse proxy becomes a central component. It should therefore be updated regularly, and its management interface belongs on the internal network – not on the internet. If it fails, none of the applications behind it can be reached; for important services a plan for outages is worthwhile. Also, the internal servers initially see the proxy as the sender. So that logs and applications know the real client address, the proxy usually passes it on in an HTTP header.

Managing HAProxy with ease

HAProxy is controlled through a configuration file. With PriCoSoft HAProxy Admin you manage it instead in a self-hosted web UI right on the proxy server: sites with host rules, health checks and load balancing, rate limiting and a block list without reload, a traffic log and Let’s Encrypt certificates. Every change is validated before it is applied, shown as a diff and rolled back automatically if it fails. Sign-in uses Microsoft Entra ID. HAProxy Admin is open source (MIT) and runs on Debian and Ubuntu.

We are happy to plan and look after your reverse proxy.

More articles

What is DNS?

DNS is the phone book of the internet: it translates names such as pricosoft.com into the IP addresses computers use to communicate.

What is DHCP?

DHCP automatically assigns an IP address to devices on the network – without manual settings on the PC, laptop or smartphone.

What is Active Directory?

Active Directory is the central user and device management in Windows networks – and Microsoft Entra ID is its counterpart in the cloud.

View all articles