Forum Discussion
Rafish_129330
Nimbostratus
Feb 13, 2015How to block specific url for src ip address
Hi,
Today i have to secure policy for evry site on for Https an one for Http.
I blocked https profile from extrenal ip src ( i block the access with my firewall "check point" ), and permit only ...
Rafish_129330
Nimbostratus
Feb 16, 2015I found the solution
first create datagroup (in my case the datagroup name is "Src_ip_Address")
To create data group: Local Traffic->iRules->Data Group List
when HTTP_REQUEST {
check the Class to determine if it's not allowed
if {[HTTP::uri] contains "admin" || [HTTP::uri] contains "login"} { if {not[class match [IP::client_addr] equals Src_ip_Address] } {
log local0. "dropped connection"
reject } } }
Regards Rafi
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