Forum Discussion
Rich_L
Nimbostratus
May 25, 2017iRule to allow IP address that is being blocked by ASM Geo-location policy
We have an ASM security policy configured on our public facing Virtual Servers. We also enforce blocking access from countries that we do not allow in our Geo-Location policy. I am looking to allow...
cjunior
Nacreous
Mar 28, 2018Hi,
Did you tried in this way?
when ASM_REQUEST_DONE {
if { [ASM::status] eq "blocked" } {
if { [IP::client_addr] == "123.456.789.101" && [ASM::violation names] eq "VIOLATION_ILLEGAL_GEOLOCATION" }{
log local0. "[ASM::violation_data]. unblocked for [IP::client_addr]"
ASM::unblock
}
}
}
So, requests from that origin that contains only geolocation violation will be ignored.
Regards.
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