Forum Discussion
yuanqiang_22112
Nimbostratus
Aug 30, 2017how to deny ip visit application
Hello:
I want to use ltm deny ip visit v_ip, only permit domain name. How to realize ?
eben_259100
Cirrostratus
Aug 30, 2017Hi yuanqiang This should get the job done.
when HTTP_REQUEST{
if {[HTTP::host] equals "
}
}
HTH Regards
Eben.
- yuanqiang_22112Sep 05, 2017
Nimbostratus
@eben,thank you ! Maybe I can try this irules again ,right ?when HTTP_REQUEST{ if {[HTTP::host] equals " log.local0 "connection dropped from client for accessing [HTTP::host]" }else{ drop }
} - Jad_Tabbara__J1Sep 05, 2017
Cirrostratus
@Yuanqiang this will not work since you are dropping all requests that don't come with
also the command you need to correct the following line
log local0. "connection dropped from client for accessing [HTTP::host]"
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