Forum Discussion
Blocking multiple IPs with iRules
You can utilize the data group option for grouping multiple resources .
iRule
when CLIENT_ACCEPTED { if { [class match [IP::client_addr] equals IPGROUP] } { reject } }
Procedure to create datagroup 1) Main - > iRule -> Datagroup list 2) Click create and type any name which will be used to call in irule. in our case IPGROUP 3) Choose the type as address. 4) Enter the address with mask in address text box. ex., 10.0.0.0/8 and click add. 5) Then update to save the config.
Finally you can associate this iRule to desired VS.
Note : Drop action wont send the reset to client whereas reject action sends it.
Recent Discussions
Related Content
* 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