Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: iptables <netfilter@lists.netfilter.org>
Subject: Re: Ruleset
Date: Tue, 10 Aug 2004 09:45:18 +0100	[thread overview]
Message-ID: <200408100945.18144.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <200408100927.22281.Antony@Soft-Solutions.co.uk>

On Tuesday 10 August 2004 9:27 am, Antony Stone wrote:

> On Tuesday 10 August 2004 8:22 am, Brent Clark wrote:
> > Hi all
> >
> > If possible would someone be so kind as to have a look at my ruleset and
> > if possible, share some pointers.  I have another linux box (Ip address
> > 192.168.3.3, connected to eth1 on the FW)  I have a lan (192.168.2.0/24)
> > connected to eth0 For my internet handling I have a ppp connection.  Im
> > also currently toying with dyndns (ez-ipupdate).
>
> 4. Do you *really* want to allow *all* NEW packets from the Internet to the
> DMZ, no matter what protocol they are?   You might as well simply stick
> your 192.168.3.3 machine on a public IP address with no firewall....

The above comment is not quite accurate - you are, of course, only DNATting 
packets to TCP port 80, therefore only HTTP should get through to the DMZ, 
however I would still recommend narrowing down the FORWARD rule just to make 
it obvious that's what's happening when you look at the filter rules, rather 
than having to refer to the nat rules to figure out what traffic is being 
allowed.

In other words, make the ruleset slightly more obvious, so you don't make the 
same mistake I did, when you come to read the ruleset in 3 months' time :)

Regards,

Antony.

-- 
People who use Microsoft software should be certified.

                                                     Please reply to the list;
                                                           please don't CC me.



  reply	other threads:[~2004-08-10  8:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10  7:22 Ruleset Brent Clark
2004-08-10  8:27 ` Ruleset Antony Stone
2004-08-10  8:45   ` Antony Stone [this message]
2004-08-10  9:15     ` Ruleset Brent Clark
  -- strict thread matches above, loose matches on Subject: below --
2004-07-20 14:58 ruleset Brent Clark
2004-07-20 15:37 ` ruleset Antony Stone
2004-07-20 16:02   ` ruleset Brent Clark
2004-07-20 16:13     ` ruleset Antony Stone
2004-07-20 16:31       ` ruleset Brent Clark

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=200408100945.18144.Antony@Soft-Solutions.co.uk \
    --to=antony@soft-solutions.co.uk \
    --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