Linux Netfilter discussions
 help / color / mirror / Atom feed
* list of ip
@ 2006-03-13 13:02 Pedro Drimel Neto
  2006-03-13 13:30 ` Cedric Blancher
  0 siblings, 1 reply; 2+ messages in thread
From: Pedro Drimel Neto @ 2006-03-13 13:02 UTC (permalink / raw)
  To: netfilter

How do I make a rule with a lot os ips like

IPS="{192.168.1.2, 192.168.1.50, 192.168.1.55}"

iptables -A INPUT -p tcp -s $IPS -j DROP

Regards.


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

end of thread, other threads:[~2006-03-13 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-13 13:02 list of ip Pedro Drimel Neto
2006-03-13 13:30 ` Cedric Blancher

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