Forum Discussion
Tyson_James
Cirrus
Jun 29, 2018iRule to block traffic to specific paths...
My company wants to block external access to https://server.com/specific_path/* and https://server.com/file.php, but allow access to all from the internal network.
We think we know how to allow only internal traffic, but cannot seem to get the block to work :
when HTTP_REQUEST {
if {[class match [string tolower [HTTP::uri]] contains "/this_path/*"] } {
drop
}
}
Any suggestions???
Thank you.
- Vijay_E
Cirrus
Can you check your class match syntax ? I am not sure if you are creating the right data group.
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