wralon
Jun 12, 2019Nimbostratus
iRule for Swapping XFF with Something Custom(Microsoft)
What is the syntax for a simple iRule that takes a standard X-Forwarded-For header and rewrites it to a different header name. I have a WAF in front of an LTM, which is in front of an ADFS Proxy environment, which does not use the XFF header, but uses instead "X-MS-Forwarded-Client-IP". The WAF will send a standard XFF header, but then I need the f5 to rewrite it to something the ADFS Proxies can parse.
Example, f5 will receive:
X-Forwarded-For: 1.1.1.1
I then want the f5 to rewrite to:
X-MS-Forwarded-Client-IP: 1.1.1.1
Thanks all in advance for your help!