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:
I tried using the manage transport properties but it looks like this is just creating a duplicate header using add/replace.
You can try to concatenate this as follows using the assertion as follows:
Thanks so much for the quick reply. I was able to use your approach to much "success".
Need help on XFFsetup in F5,if possible could you please provide more details how XFF is setup in F5 even after F5 is acting as passthrough?
We are trying to setup F5 as passthrough and add XFF to see actual source IP's, but it's breaking connection to servers.