Forum Discussion
Mo9823
Nimbostratus
Dec 01, 2019block access to VS by IP
hello, I had a request from our infosec team to block any request accessing the VS by the IP addresss, for example: our website www.xyz.com , VS IP: 1.2.3.4 if some one try to access the webs...
jaikumar_f5
Noctilucent
Dec 01, 2019You should look for the host header and action for this.
when HTTP_REQUEST {
if {not(([string tolower [HTTP::host]]) equals "www.xyz.com")} {
log local0. "[HTTP::host] requested Invalid - Dropped"
reject
}
}
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