Forum Discussion
farnsworth_7311
Nimbostratus
Dec 18, 2007Blocking a URL except from specific IP addresses
We would like to block access to a specific URL for a web application except if it is coming in from our VPN (known IP address ranges) or from our internal network. ie /admin but allow /user. How should the irule be written
- Colin_Walker_12Historic F5 AccountTo clarify:
when HTTP_REQUEST { if { [HTTP::uri] starts_with "/admin" } { if {[IP::client_addr] starts_with "10.0.0" } { pool http_pool } else { reject } } }
- farnsworth_7311
Nimbostratus
Thanks to all! This has been a great help!
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