True Client IP

Hi

 

We are using APIGEE Edge on premise version and its running behind a firewall

 

We have a requirement to get the IP address of the actual source but since this is behind firewall, we are getting the firewall IP only . Is this possible to get the IP address when running behind a firewall? please advise.

1 1 75
1 REPLY 1

The one you're looking for is "X-Forwarded-For" request header, If there's no "True-Client-IP" header.

The usual format of X-Forwarded-For will be something like the following.

X-Forwarded-For: client,proxy1,proxy2

The value is a comma-separated list of IP addresses, with the initial client on the left and each subsequent proxy/FW layer that passed the request adding the IP address from whom it received the request.