Forum Discussion
marv_Williams_5
Nimbostratus
Apr 20, 2015Geolocation I-Rule not parsing properly
I am trying to create an I-Rule using geolocation blocking. I am blocking everything but US traffic and also allowing certain IP addresses via a data group called whitelist. The rule is not parsing...
kunjan
Nimbostratus
Apr 20, 2015Try the modified.
when HTTP_REQUEST {
if { !([whereis [IP::client_addr] country] eq "US" or [class match [IP::client_addr] equals whitelist]) } {
log local0. "Blocked Traffic from [IP::client_addr] Redirected"
HTTP::redirect "https://www.blackhawknetwork.com"
}
}
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