Forum Discussion
iRule
Aug 09, 2022Cirrus
hostname redirect for public IPs only
Dear Community, I am using following iRule to redirect traffic to another virtual IP during maintenance window but this iRule causes all traffic of external internet clinets with "public IPs" & inte...
- Aug 10, 2022
Hi,
when HTTP_REQUEST { if { [HTTP::host] eq "morning.abc.com" && not ([class match [IP::client_addr] equals /Common/private_net]) } { HTTP::redirect "https://evening.xyz.com/en/contact-us/mobile/maintenance" return } }
iRule
Aug 11, 2022Cirrus
Thank you Enes, it works fine.
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