Forum Discussion
GeoffSweet_3221
Nimbostratus
Jun 16, 2009Need to permit a list of hosts
So I am sure that I can create an iRule that simply blocks a single host via
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.10.10.10] } {
pool my_pool
}
else {
...
nitass_89166
Noctilucent
Dec 14, 2014I am getting unknown option error using allowed_clients datagroup. is this the same syntax for LTM 10.2.3?
can you try this?
when CLIENT_ACCEPTED {
if { not ([class match -- [IP::client_addr] equals allowed_clients]) } {
drop
}
}
nitass_89166
Noctilucent
Dec 14, 2014class wiki
https://clouddocs.f5.com/api/irules/class.html
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
