All of lore.kernel.org
 help / color / mirror / Atom feed
* allow range syntax - perplexed
@ 2004-06-15 17:00 Jonathan Villa
  2004-06-15 17:19 ` Cedric Blancher
                   ` (2 more replies)
  0 siblings, 3 replies; 22+ messages in thread
From: Jonathan Villa @ 2004-06-15 17:00 UTC (permalink / raw)
  To: netfilter

To my understanding the following will allow any address in the x.x.x.0
block access

$IPTABLES -A INPUT -p tcp --dport 22 -s xxx.xxx.xx.0/24  -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 3306 -s xxx.xxx.xx.0/24  -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 80 -s xxx.xxx.xx.0/24 -j ACCEPT

It of course is not working...

my temporary solution : looping through 1-254

not very nice when I need to show someone the current rules.

-confused





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

end of thread, other threads:[~2004-06-17  7:11 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-15 17:00 allow range syntax - perplexed Jonathan Villa
2004-06-15 17:19 ` Cedric Blancher
2004-06-15 17:47   ` Jonathan Villa
2004-06-15 17:52   ` Jonathan Villa
2004-06-16 13:31     ` Relay to DNS Server ? Akao
2004-06-16 13:53       ` Patrick Leslie Polzer
2004-06-16 17:30         ` Antony Stone
2004-06-16 17:44           ` Mark Anacker
2004-06-17  7:11             ` Akao
2004-06-15 17:58 ` allow range syntax - perplexed John A. Sullivan III
2004-06-15 18:41   ` Jonathan Villa
2004-06-15 19:04     ` Antony Stone
2004-06-15 19:27       ` Jonathan Villa
2004-06-16  8:47       ` blocking all traffic in port 137/137 david
2004-06-16  8:52         ` Antony Stone
2004-06-16  9:00         ` Frank Gruellich
2004-06-15 19:15     ` allow range syntax - perplexed John A. Sullivan III
2004-06-15 19:30       ` Jonathan Villa
2004-06-15 18:52 ` Antony Stone
2004-06-15 19:24   ` Jonathan Villa
2004-06-15 19:55     ` Antony Stone
2004-06-15 20:40       ` Jonathan Villa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.