Vamsi Krishna
Vamsi Krishna

Reputation: 161

How to get client ip address aws elb?

I am using aws elb for load balancing. I need client ip address. But it gives us elb ip address. So i went to aws documentation and they told to enable Enabling Proxy Protocol. After enabling also, i am getting elb address only.

Upvotes: 0

Views: 1140

Answers (1)

Michal Gasek
Michal Gasek

Reputation: 6423

You might want to read about X-Forwarded-For HTTP header:

http://en.wikipedia.org/wiki/X-Forwarded-For

Elastic Load Balancer supports it.

Upvotes: 2

Related Questions