Forum Discussion
cjg3000_192116
Nimbostratus
7 years agofiltering traffic with irule
Hello, I'm trying to create an irule that will only allow traffic to the VIP if it matches a specific header, all other traffic should be dropped. Is there an easy way to accomplish this?
Lee_Sutcliffe
Nacreous
7 years agoYou can use an Local Traffic policy to do this:
Or a simple iRule:
when HTTP_REQUEST {
if {!([HTTP::header exists "my-header-name"])} {
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