Forum Discussion
Jinshu
Cirrus
Nov 09, 2015Irule help
Hello Mates,
Can somebody help me to create an irule with below condition?
if the subnet 10.91.150.0/24 matches, go to the url http://myurl.com/test/hello.world?wdsl
if the subnet 10.85.55.0/25 ...
nathe
Cirrocumulus
Nov 10, 2015What about this:
when HTTP_REQUEST {
if { ([HTTP::uri] eq "/test/hello.world?wdsl") && (![IP::addr [IP::client_addr] equals 10.91.150.0/24]) } {
reject
}
if { ([HTTP::uri] eq "/production/hello.world?wdsl") && (![IP::addr [IP::client_addr] equals 10.85.55.0/25]) } {
reject
}
}
Hope this helps,
N
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