This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
networking:firewall:block_host [2015/11/03 11:22] gcooper |
networking:firewall:block_host [2018/01/15 12:13] (current) gcooper |
||
---|---|---|---|
Line 6: | Line 6: | ||
< | < | ||
- | iptables -I INPUT -s 66.184.141.132 -j DROP | + | iptables -I INPUT -s nnn.nnn.nnn.nnn -j DROP |
</ | </ | ||
Line 12: | Line 12: | ||
< | < | ||
- | iptables -D INPUT -s 66.184.141.132 -j DROP | + | iptables -D INPUT -s nnn.nnn.nnn.nnn -j DROP |
</ | </ | ||
Line 24: | Line 24: | ||
< | < | ||
- | for ip in `grep Itau.com.br / | + | for ip in `grep spammer.com.br / |
</ | </ | ||