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 05, 2020when HTTP_REQUEST {
if { [class match [IP::client_addr] equals DG1-BLOCKED-SUBNETS]} {
if { not ([class match [HTTP::uri] equals DG2-ALLOWED-URIs]) } {
drop
}
}
}
You were missing a [ class match
ant77
Cirrostratus
Apr 07, 2020Thanks! Appreciate your help...
Quick question, since the statement "drop" is there based on the condition in the data group needing to be met, will this drop traffic for all other traffic (regular traffic) outside of that condition (subnets and URIs) in the data group.? I just don't want this to drop our regular traffic...
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