Forum Discussion
Mark_Burchard_5
Nimbostratus
Mar 21, 2006iRule to limit access to webserver directory by client IP
Hi all,
First time posting here, and you'll probably laugh and shake your heads at this simple problem, but hopefully I'll learn. I have searched for similar iRules and can't seem to find t...
Colin_Walker_12
Apr 10, 2006Historic F5 Account
This is because you're defining an array when what you really want is a class.
You can define this in the GUI under the Data Groups section, or manually in the configuration file if you prefer, by stating a class outside of your iRule (just as you would define a VIP or a pool) like so:
class http_allowed_ip_list {
"10.0.0.11/12"
"10.0.0.12/13"
}You should then be able to remove the array definition statement in your rule, and have the matchclass execute properly.
Colin
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
