Forum Discussion
SteveEason
Cirrus
Mar 21, 2017Need to restrict an iRule from passing external traffic, only internal.
We have a situation where we are using an iRule that when there are requests to a subfolder on a site, it redirects to a subfolder. Here is the iRule we are using.
if { [HTTP::uri] starts_with ...
Mar 21, 2017
Maybe something like this:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/subfolder" && [IP::addr [IP::client_addr] equals 10.0.0.0/8] } {
the node command directs the request to the server
whether or not it is behind the BigIP. Make sure the BigIP
has a route to that server.
node 10.10.3.111
}
}
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