Forum Discussion
pablitop_134672
Nimbostratus
Apr 14, 2014iRule to only allow traffic from 3 differents subnets
I need to create an irule that just allow traffic when its from 3 subnets: 10.10.17.0/24, 10.10.18.0/24 and 10.10.19.0/24.
I don´t know if the one below, works like I want.
Could anybody please help ...
IheartF5_45022
Nacreous
Apr 15, 2014Datagroups are highly performant so no CPU worries there;-
when HTTP_REQUEST {
if {[string tolower [HTTP::path]] ends_with "/xxx" && ![class match [IP::client_addr] equals dg_ip_whitelist] } {
HTTP::respond 200 content "URL Blocked"
}
}
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