The specific IP didn't matter, I was just trying to get an idea of how big a block you want to drop traffic from. Anyway, the general rule for blocking traffic:
For a single host (192.168.2.1):
iptables -I INPUT -s 192.168.2.1 -j DROP
For a range (192.168.2.0 - 192.168.2.255):
iptables -I INPUT -s 192.168.2.1/24 -j DROP
For a range (192.168.0.0 - 192.168.255.255):
iptables -I INPUT -s 192.168.0.0/16 -j DROP
|