Forum Discussion
ChadBigIP_14663
Jan 28, 2013Nimbostratus
I am on version 10.2.0
When I use the F5 iRule Editor, I go into Tools, and bring up the Data Group Editor.
There are optons for Address, Integer and String.
I press Add under Address
Name: source-ips
Address: 115.236.99.195
I do not have to put anything after the / where the other input field is, right?
Then after I add in some IP's. I press create.
Where do I put in DROP?
when CLIENT_ACCEPTED {
if { [class match [IP::client_addr] equals source-ips] } {
Use drop to silently drop rather than reject which sends a RST
reject }
}
Then I can use the iRule Editor and put this rule into each Virtual Server that I choose then, and use the >> arrows to move it
to Using this Rule then press OK.
Right?
Thanks!
-Chad