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
preguntada hace 5 años1307 visualizaciones
3 Respuestas
0

Any chance I can get some AWS Support with this?

soleson
respondido hace 5 años
0

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

Thanks in advance.

soleson
respondido hace 5 años
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
respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas