Linux Netfilter discussions
 help / color / mirror / Atom feed
* What's the best way to block these IP's?
@ 2005-06-18 16:46 Netfilter
  2005-06-18 17:46 ` /dev/rob0
  2005-06-18 20:56 ` Cedric Blancher
  0 siblings, 2 replies; 6+ messages in thread
From: Netfilter @ 2005-06-18 16:46 UTC (permalink / raw)
  To: netfilter

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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* What's the best way to block these IP's?
@ 2005-06-18 16:29 Netfilter
  0 siblings, 0 replies; 6+ messages in thread
From: Netfilter @ 2005-06-18 16:29 UTC (permalink / raw)
  To: netfilter

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-06-19 14:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-18 16:46 What's the best way to block these IP's? Netfilter
2005-06-18 17:46 ` /dev/rob0
2005-06-18 18:02   ` Netfilter
2005-06-19 14:07     ` Jason Opperisano
2005-06-18 20:56 ` Cedric Blancher
  -- strict thread matches above, loose matches on Subject: below --
2005-06-18 16:29 Netfilter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox