Forum Discussion
cmard_195831
Nimbostratus
Apr 06, 2016help on an irule
Hello,
I have the following irule which is working fine:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/EBanking2/admin" } {
if { not ([IP::client_addr] equals "208.222.129.101") ...
Greg_Labelle
Nimbostratus
Apr 06, 2016You could use an OR statement, but I would recommend you move to using an iRule data group, and do a class match, for example:
if { [class match [IP::client_addr] equals IPWhiteList] } {
...
}
Where "IPWhiteList" is an iRule data group (of type string) that contains the IP's to be permitted.
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