3 ms·
How to Access Real Client IP Addresses with Proxy Protocol
- alexellisuk 4y agoHi I'm the founder of inlets (a self-hosted network tunnel that has no inherent connection / domain or bandwidth limits) and was built to run in containers in K8s: > If you’ve ever run a reverse proxy, tunnel or load balancer (LB) and wondered why you saw internal IP addresses in your logs, then you’re not alone. The plaintext HTTP protocol has a number of “X-Forwarded-*” headers that covers this for proxies which decrypt traffic. But what if you’re using TLS, or TCP which works at a lower level in the Open Systems Interconnection model (OSI model)? > That’s where Proxy Protocol comes in.