Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Antony Stone <Antony@Soft-Solutions.co.uk>
To: netfilter@lists.netfilter.org
Subject: Re: I have no idea why this doesn't work...
Date: Thu, 22 Apr 2004 20:43:27 +0100	[thread overview]
Message-ID: <200404222043.27743.Antony@Soft-Solutions.co.uk> (raw)
In-Reply-To: <200404222023.24672.Antony@Soft-Solutions.co.uk>

On Thursday 22 April 2004 8:23 pm, Antony Stone wrote:

> On Thursday 22 April 2004 7:58 pm, Garison Piatt wrote:
>
> > Below is a pared-down combination of several example scripts which did
> > something reasonably close to what I want.  When I run this, however, I
> > lose FTP, and who-knows-what-else.
>
> Your posted ruleset *is* very long, yes, and by your own admission you're
> not quite sure what you're doing, so I recommend that you start simple and
> build up, ensuring there are no problems at each stage, so that when a
> problem does crop up, you know it must be the small part you just changed,
> rather than "somewhere in this great long script I've got".

Sorry for replying to my own posting, but I've just looked at your script in a 
bit more detail, and I immediately notice how many user-defined chains you 
have.   I think this is unnecessarily complicating things for you (and us, 
trying to read the script), so I suggest you remove (comment-out) as many as 
possible (the ones which block 'bad' packets for example - you can do without 
those whilst you're getting the firewall working, and then add them in again 
later to add some bells & whistles to a system which is by then doing the 
basic job okay).

I'm sticking to my previously-stated philosophy of "start simple and build up 
gradually, checking for problems at each stage", since it makes the debuggign 
process of working out where the problem crept in much easier.

Regards,

Antony.

-- 
The truth is rarely pure, and never simple.

 - Oscar Wilde

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



      reply	other threads:[~2004-04-22 19:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-22 18:58 I have no idea why this doesn't work Garison Piatt
2004-04-22 19:23 ` Antony Stone
2004-04-22 19:43   ` Antony Stone [this message]

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=200404222043.27743.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