Forum Discussion
Bill_S_
Nimbostratus
Dec 24, 2019allowing a list of IP addresses access to a pool
I'm trying to find a way to pass the request through an address-list or ACL before sending to the pool. I want to allow only certain IP addresses to connect to this pool. Any ideas? when HTTP...
Bill_S_
Nimbostratus
Dec 24, 2019Thanks Surgeon! I had the IP:client_addr part, but couldn't figure how to reference a list. The link that referenced classes and datagroups did the trick.
neeeewbie
MVP
Dec 24, 2019like below rule
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] && [class match [IP::client_addr] equals "accessip"] {
"host.xyz.com" {
pool pool-xyz
}
}
}
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