AnsweredAssumed Answered

Appending to the X-forwarded-for request.http header

Question asked by rick.reed2.2 on Jul 30, 2018
Latest reply on Jul 31, 2018 by rick.reed2.2

XFF from F5 Load Balancer to API Gateway:

 

I have an F5 Load Balancer sitting in front of our internal API Gateway.  The XFF has been enabled on this Load Balancer.  I am getting the "x-forwarded-for" value correctly.

 

My question:  What is the best way to append my API Gateways "request.tcp.localAddress" value to the end of this request.http.header.x-forwarded-for value so that it gets passed along to the backend service?

 

From the F5 Load Balancer:

 

What I want it to look like when I pass it along to the backend service:

 

Thoughts?

 

Thanks.

Outcomes