End user IP address

Document ID : KB000016188
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

N/A

Question:

How do we get the end user IP address if CA Risk Authentication server is Load Balanced, we only get the Load Balancer IP address in this case?

Environment:
Pre-production, Production
Answer:

Enable X-Forwarded-for parameter on the Load Balancer ( F5,VIP).

X-Forwarded-For

The X-Forwarded-For request header helps you identify the IP address of a client when you use an HTTP or HTTPS load balancer. Because load balancers intercept traffic between clients and servers, your server access logs contain only the IP address of the load balancer. To see the IP address of the client, use the X-Forwarded-For request header. Elastic Load Balancing stores the IP address of the client in the X-Forwarded-For request header and passes the header to your server.

Additional Information:

N/A