All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qui Le <qle@telogy.com>
To: Mike <mikeeo@msn.com>, netfilter@lists.netfilter.org
Subject: Re: rule check
Date: Thu, 16 Jan 2003 10:50:49 -0500	[thread overview]
Message-ID: <200301161050.49338.qle@telogy.com> (raw)
In-Reply-To: <000d01c2bd74$2db248f0$1e01a8c0@win2k.com>

  No.  The first rule has a broader scope than the second rule.  The second 
rule limits the destination port to 2000 - 2050, whereas, the first rule will 
accept any destination port.

Qui


On Thursday 16 January 2003 10:30 am, Mike wrote:
> Are these two rules essentially the same ?
>
> Thanks,
> Mike
>
> iptables -A FORWARD -i eth2 -o eth0 -m state --state
> NEW,ESTABLISHED,RELATED -j ACCEPT
>
> iptables -A FORWARD -i eth2 -o eth0 -p tcp --dport 2000:2050 -m
> state --state NEW,ESTABLISHED,RELATED -j ACCEPT


  reply	other threads:[~2003-01-16 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-16 15:30 rule check Mike
2003-01-16 15:50 ` Qui Le [this message]
2003-01-16 16:38 ` Darrell Dieringer
  -- strict thread matches above, loose matches on Subject: below --
2003-01-16 15:46 mailinglists

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=200301161050.49338.qle@telogy.com \
    --to=qle@telogy.com \
    --cc=mikeeo@msn.com \
    --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 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.