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 ...
nitass
Employee
Apr 15, 2014Just one more thing, do you think that something like this would work?
what version are you running? if it is 9.4.4 or later, you should remove $:: prefix.
Class / Data Group List References
9.4.0 - 9.4.3, class reference not compatible as of 9.4.4, "::" and "$::" prefixes are no longer required to reference classes using findclass or matchclass. Classes are static and are therefore CMP compatible. There is no need to treat them as global objects.
10.0, matchclass / findclass deprecated in favor of new class command
CMP Compatibility
https://devcentral.f5.com/wiki/iRules.cmpcompatibility.ashxHelp 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