Forum Discussion
Amit_Shah_6642
Nimbostratus
Nov 11, 2013Allow traffic from specific IP to Specific URI
On our website we want to allow only few IPs on a specific URI. I write below iRULE, it is blocking all the traffic to go to that URI instead of the one I define in Pool. Thank you for help in advanc...
What_Lies_Bene1
Cirrostratus
Nov 11, 2013Try this, where AddressAllowedPool is the Data Group;
when HTTP_REQUEST {
if { [HTTP::uri] contains "/abc/xyzServlet" and (not [class match [IP::addr [IP::client_addr] equals AddressAllowedPool ]) } {
reject }
else { pool Pool_servers }
}
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