Forum Discussion
Amol_Khatavkar_
Nimbostratus
Dec 30, 2014I have SNAT and X-Forwarded-For but this is not working for internal application need to insert WL-Proxy-Client-IP in below iRule please guide.
Below is the existing iRule applied to VIP and want to need to insert WL-Proxy-Client-IP in below iRule
ltm rule uri_pool_select {
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
s...
Amol_Khatavkar_
Nimbostratus
Dec 30, 2014Hi Nitass,
Thanks and for your input.Can you confirm if this will work with AND operator also as below?
ltm rule uri_pool_select { when HTTP_REQUEST { HTTP::header insert X-Forwarded-For [IP::remote_addr] and { set uri [string tolower [HTTP::uri]] switch -aaaa $uri { /bbbb* - /cccc* { pool wxyz.com } default { pool default.com } } } } }
Thank again.
nitass
Employee
Dec 30, 2014no, it won't work.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects