Forum Discussion
david0512_20548
Nimbostratus
Nov 13, 2013drop incoming http requests to URI if external IP
Hi Guys
New to i-rules so would appreciate some pointers.
I have a situation where we have a pool of application servers that serve both private and public content (URIs). This pool is shar...
Kevin_Stewart
Employee
Nov 13, 2013With regards to the class match and matching a datagroup can i instead just define the addresses in the i-rule itself
You can, but your evaluation will get a little complex with more than two IPs/subnets. Example:
if { ( [IP::addr [IP::client_addr] equals 10.0.0.0/8] ) or ( [IP::addr [IP::client_addr] equals 172.16.0.0/12] ) or ( [IP::addr [IP::client_addr] equals 192.168.0.0/16] ) }
where [IP::addr ] is the Boolean operator you would to evaluate IP addresses in an if clause.
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