Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "John A. Sullivan III" <john.sullivan@nexusmgmt.com>
To: Jonathan Villa <jvilla@e37.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: allow range syntax - perplexed
Date: Tue, 15 Jun 2004 13:58:56 -0400	[thread overview]
Message-ID: <1087322336.2054.12.camel@localhost> (raw)
In-Reply-To: <1613.64.2.245.108.1087318849.squirrel@64.2.245.108>

On Tue, 2004-06-15 at 13:00, Jonathan Villa wrote:
> 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
I'm not doing exactly what you are doing but I do use full subnets for
both source and destination and it works fine for me.  What do you see
that makes you believe it is not working? - John
-- 
John A. Sullivan III
Chief Technology Officer
Nexus Management
+1 207-985-7880
john.sullivan@nexusmgmt.com
---
If you are interested in helping to develop a GPL enterprise class
VPN/Firewall/Security device management console, please visit
http://iscs.sourceforge.net 



  parent reply	other threads:[~2004-06-15 17:58 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` John A. Sullivan III [this message]
2004-06-15 18:41   ` allow range syntax - perplexed 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1087322336.2054.12.camel@localhost \
    --to=john.sullivan@nexusmgmt.com \
    --cc=jvilla@e37.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox