X-Forwarded-For as Client IP in ALB Access Logs

0

We have a public proxy in front of our ALB. That public proxy forwards requests with the X-Forwarded-For header (to include the Client IP). We have also set up Access Logging for the Application Load Balancer. However, it appears that the IP address recorded for the request is not the actual Client IP address, but the public proxy's IP address.

How do we enable recording of the original client IP address (via the X-Forwarded-For) header in Application Load Balancer Access Logs?

-Shaun

soleson
asked 5 years ago1241 views
3 Answers
0

Any chance I can get some AWS Support with this?

soleson
answered 5 years ago
0

Should this be posted in another forum as I was hoping for some form of response by now.

Thanks in advance.

soleson
answered 5 years ago
0

For others seeking similar information, it appears that what I'm attempting to do is not really practical. Having the firewall behind a caching proxy would not prevent malicious traffic from attempting to access the caching proxy and that proxy attempting to pull cache misses.

Marking this closed as I'll need to find another solution.

soleson
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions