Block IP
From Tech-Wiki
Revision as of 15:56, 20 May 2019 by Fabricio.Lima (Talk | contribs) (Created page with "Category:F5 Networks '''Back to iRules''' # first, create a data group of type IP addr if { [class match [IP::remote_addr] equals ip_blacklist] }...")
# first, create a data group of type IP addr if { [class match [IP::remote_addr] equals ip_blacklist] } { reject event disable all return }
Or
when CLIENT_ACCEPTED { if { [IP::addr [IP::client_addr] equals xx.xx.xx.xx/xx] } { reject } }