How Reverse Proxy works
A reverse proxy (Cloudflare, Nginx, a load balancer) sits in front of web servers: it terminates TLS, caches, filters attacks and forwards plain requests to the right back-end server.
Layer: Application (OSI layer 7) · Port: 443 · Transport: TCP · Format: HTTP · Standard: -
Reverse Proxy packet flow
- TLS Client → Proxy: HTTPS request to www.example.com
- HTTP Proxy → App Server: GET / (X-Forwarded-For: 203.0.113.7)
- HTTP App Server → Proxy: 200 OK
- TLS Proxy → Client: 200 OK (cached for next time)
Other protocols: HTTPS · SSH · TLS/SSL · DNSSEC · DNS over HTTPS · Wi-Fi · WPA3 · RADIUS · Captive Portal · HTTP Proxy · SOCKS5 · WireGuard · IPsec