Forum Discussion
Hi Prasad4u,
iRule:
when HTTP_REQUEST {
if { [HTTP::header exist True-Client-IP] } {
# Client --> CloudFlare --> F5
HTTP::header replace X-Forwarded-For [HTTP::header True-Client-IP]
}
else {
# Client --> F5
HTTP::header replace X-Forwarded-For [IP::client_addr]
}
}
Additional note: In this scenario, don't use source_addr persistence.
Prasad4u
Mar 01, 2021Nimbostratus
Hi Enes Afsin,
Greetings!!
After applying this irule, The VIP stopped working.
Could you please help us here.
- Mar 01, 2021
Hi Prasad4u,
Can you investigate /var/log/ltm ?
Is there a log for this irule or another attached irule?