Forum Discussion
mfkk531_168091
Nimbostratus
Sep 25, 2016Need iRule for this requirement. Please help.
I have a irule with the logic to check for uri and then send to a pool with specific port
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri] ] {
"/service1*" {
pool p-service1
}
"/service2*" {
pool p-service2
}
and so on
I'm looking to add a sub condition under certain uri, to accept connection only from certain source IPs and drop all other IPs trying to access that uri
Thanks in advance!
1 Reply
- TayF5un
Nimbostratus
You may use data-group which contains certain IPs and if client remote address equals data group, you will do what you want.
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
