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 ...
pablitop_134672
Nimbostratus
Apr 15, 2014IheartF5, thanks for your answer. Just one more thing, do you think that something like this would work?
when HTTP_REQUEST { if {( [string tolower [HTTP::path]] ends_with "/xxx " ) and not ( [matchclass [IP::client_addr] equals $::xxx_allowed] ) } { 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