Forum Discussion
ant77
Cirrostratus
Apr 02, 2020Allow access to multiple URI based on IP in data group only, while allow others full access
Can any of the irule expert please help me with creating this irule based on this condition? I think i have it, but not sure. Conditions: Create subnets data group allow users coming from these ...
Simon_Blakely
Employee
Apr 03, 2020You need to move the drop into the if
when HTTP_REQUEST {
if [class match [IP::client_addr] equals DG1-BLOCKED-SUBNETS] {
if { not ([HTTP::uri] equals DG2-ALLOWED-URIs]) } {
drop
}
}
}
ant77
Cirrostratus
Apr 03, 2020Thank you S Blakely. I will try this and let you know..
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