What Happened?
By default, when I use Load Balancer, the request IP on the origin server will be the IP of the LB, but what should I do if I want to see the client's IP on the origin server?
Environment
- F5® Distributed Cloud Load Balancer
- Distributed Cloud (SaaS)
Resolution/Answer
No, we don't have this kind of feature, but the origin client's IP address is in the request header, you can find it in the header X-Envoy-External-Address of the request.
Additional Information
F5® Distributed Cloud load balancer adds a set of HTTP headers by default, and X-Envoy-External-Address is one of them, it contains the IP of the downstream(client).
Related Content