Forum Discussion
marv_Williams_5
Nimbostratus
Apr 14, 2015Geo Location I-Rule to Block Continents but allow certain IP addresses then redirect
I have a simple I-Rule that blocks Continents but I need to revise this to block continents I choose, but allow certain IP addresses from a Continent that is blocked. The Continents that are blocked...
Richard__Harlan
Apr 14, 2015Historic F5 Account
Sorry I missed a few close brackets this on syntax checked on a LTM and loaded without a problem
when CLIENT_ACCEPTED {
if { ( [whereis [IP::client_addr] continent] eq "EU") && not ( [class match [IP::client_addr] equals whitelist] ) } {
reject
}
}
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