Join our Newsletter — 33% off our NHI Course

What is the difference between a proxy and a reverse proxy?

A proxy sits between a client and the internet on behalf of the client, while a reverse proxy sits in front of one or more servers on behalf of those servers. In security terms, forward proxies can filter outbound user traffic, and reverse proxies can hide internal services, terminate TLS, and enforce access controls.

Why the difference matters in security architecture

A proxy and a reverse proxy both mediate traffic, but they protect different sides of the connection. A forward proxy represents the client, which makes it useful for outbound filtering, user privacy controls, and policy enforcement at the edge. A reverse proxy represents the server side, which makes it useful for shielding origin systems, centralising TLS, and presenting one controlled entry point to many back-end services.

The practical distinction is about trust boundary and control placement. With a forward proxy, the organization is deciding what users and endpoints can reach. With a reverse proxy, the organization is deciding what the public internet can see and how requests are brokered before they reach internal applications. That difference shapes logging, access policy, and where failures are most likely to appear.

Reverse proxies also often sit in front of web application firewalls, load balancers, or API gateways, so the same pattern can support several security functions at once. The design goal is not just traffic relay, but controlled mediation of exposure, identity assertions, and request handling before traffic reaches the origin service.

How the two patterns change exposure and control

Forward proxies are commonly used to control egress from users, workstations, or subnets. They can enforce web filtering, block risky destinations, apply acceptable-use policy, and reduce direct outbound reachability. They are most valuable where the organization wants visibility into client-initiated traffic and a single choke point for outbound enforcement.

Reverse proxies are commonly used to reduce the attack surface of internal services. They can hide origin addresses, terminate TLS, enforce host or path rules, normalize requests, and pass only approved traffic to the backend. In many environments, they are also the natural place to add authentication gates, rate limits, or WAF controls before the application itself is reached. NHIMG’s Secure Web Gateway and Web Filtering Guide is the best place to understand how forward proxies, PAC files, and filtering policy fit together in outbound web control.

The distinction matters because the wrong placement can create a false sense of protection. A forward proxy does not make an application safe to publish, and a reverse proxy does not automatically control user browsing. Each is effective only when the policy matches the direction of traffic and the real trust boundary.

Common failure patterns when teams blur proxy roles

The most common mistake is treating any proxy as a generic security layer. That leads to gaps such as assuming outbound filtering will protect exposed servers, or assuming a reverse proxy alone is enough to enforce user device policy. Another frequent issue is bypass: if direct paths to the origin or alternate egress routes exist, the proxy stops being the effective control point.

Reverse proxies also introduce configuration risk when teams use them as a catch-all for TLS, access control, and routing without strong logging and hardening. Misrouting, overly broad allowlists, weak header handling, and origin exposure can undermine the protection the proxy was meant to provide. A reverse proxy can help hide infrastructure, but it cannot compensate for poor backend authorization or weak session handling in the application itself.

Adversaries also abuse reverse-proxy-like patterns in phishing and session interception. Tools that mediate traffic in the middle can be used to capture credentials or session cookies if the victim is tricked into trusting the mediated flow. For that reason, a reverse proxy should be understood not only as a defensive architecture component, but also as a pattern that attackers can imitate. NHIMG’s AiTM Phishing Guide covers the session theft and token interception angle practitioners should keep in mind.

Risk and Threat Considerations

Proxy misplacement creates exposure when the traffic direction, enforcement objective, and trust boundary do not match. A proxy that sits in the wrong place may hide the real origin of risk instead of reducing it, while a bypass path can nullify the control entirely.

Failure mechanism: Attackers exploit alternate routes, weak allowlists, or overtrusted proxy headers to reach services directly, bypass content controls, or abuse the proxy as a relay for malicious traffic.

Impact: The organization can lose visibility into outbound activity, expose internal services to the internet, or allow hostile traffic to inherit the proxy’s apparent legitimacy.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0, NIST SP 800-53 Rev 5, OWASP ASVS and CIS Controls v8 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.AA-05 — Identity Management, Authentication and Access Control Reverse proxies often enforce authentication and access decisions at the service edge.
Recommendation — Enforce edge access decisions before requests reach the origin service.
NIST SP 800-53 Rev 5 AC-4 — Information Flow Enforcement Proxies mediate allowed traffic flows between clients, networks, and services.
SC-7 — Boundary Protection Reverse proxies are a boundary control for protecting internal services from external reachability.
Recommendation — Apply flow-enforcement rules at the proxy boundary. Place boundary protection at the proxy layer and block direct origin access.
OWASP ASVS V12 — Cryptography and Secure Communication Reverse proxies commonly terminate TLS and influence secure transport handling.
Recommendation — Terminate and manage secure transport at the proxy without weakening backend trust.
CIS Controls v8 CIS-13 — Network Monitoring and Defense Proxy logs and mediation are central to monitoring web traffic and blocking unsafe destinations.
Recommendation — Centralize monitoring and filtering through the proxy control point.

Practitioner Guidance

What to verify: Confirm whether the control point is meant to govern outbound client traffic or inbound service exposure, then validate that no direct path exists around it. If both directions matter, you need distinct controls, not a single generic proxy assumption.

Common mistake: Do not treat TLS termination or address hiding as equivalent to access control. A reverse proxy can reduce exposure, but the origin still needs authorization, session, and backend policy that stand on their own.

Practitioner takeaway: The key decision is not which proxy is “better”, but which trust boundary you are trying to control, because the security value comes from placing mediation at the correct edge and proving it cannot be bypassed.