Forum Discussion
anujl_5566
Nov 07, 2011Nimbostratus
access rule for specific urls using Data group list
I wanted to give access to certain url's IF clients come from specific pool of IP's. I looked at devcentral and using the tips I found I wrote this url and it is working. Thought of sharing,
...
hooleylist
Nov 08, 2011Cirrostratus
Nice work. A few notes:
If you're on 9.4.4+ you should remove the $:: prefix from the datagroup name in the iRule.
If you're on 10+ you could replace matchclass with the class match command.
You could also consider performing the client IP lookup in the CLIENT_ACCEPTED event so you only do the lookup once per client connection instead of every HTTP request.
Aaron
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