Skip to contentSkip to conversation

What's the best way to block these IP's?

DISCUSSION Netfilter 1 participant 1 message Jun 18, 2005

lore
Share & tools
lore

Netfilter

author
#0 lore raw

What's the best way to block these IP's?

:FORWARD ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]

-A INPUT -p tcp -s 61.0.0.0/32 -i eth1 -j  DROP
-A INPUT -p tcp -s 66.0.0.0/32 -i eth1 -j  DROP
-A INPUT -p tcp -s 80.0.0.0/32 -i eth1 -j  DROP
-A INPUT -p tcp -s 82.0.0.0/32 -i eth1 -j  DROP

-A INPUT -p tcp -s 211.0.0.0/32 -i eth1 -j DROP
-A INPUT -p tcp -s 213.0.0.0/32 -i eth1 -j DROP

or

-A INPUT -p tcp -s 218.0.0.0 -i eth1 -j DROP
-A INPUT -p tcp -s 219.0.0.0 -i eth1 -j DROP
-A INPUT -p tcp -s 219.0.0.0 -i eth1 -j DROP

thanks