Forum Discussion
slesh_219299
Feb 23, 2017Cirrus
irule allow only one IP to VIP
Hi guys
I need to allow only one ip to vip and will this help ?
when CLIENT_ACCEPTED {
if { ( [IP::addr [IP::client_addr] equals "11.22.33.44"] )
} then {
Allow
} else {
DRO...
- Nov 30, 2017
Ok I had to go with data group
when CLIENT_ACCEPTED { Check the data group if { ! ([class match [IP::client_addr] equals allow_2_IP ]) } { Not valid client drop }
}
works fine but if someone have irule which allow only 2 ips it would be great also 🙂
Feb 23, 2017
Or this:
when CLIENT_ACCEPTED {
if { !( [IP::addr [IP::client_addr] equals "11.22.33.44"] ) } {
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