From: Ales Stibal Subject: Re: Drop firstly? Drop at the end of the Script? Or it doesn't matter? Date: Mon, 24 Mar 2003 16:43:22 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3E7F279A.9070303@giganet.cz> References: <000801c2ef5b$e3e3ba50$0400000b@laptopbak1> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <000801c2ef5b$e3e3ba50$0400000b@laptopbak1> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: giannhsp Cc: netfilter@lists.netfilter.org > hi, > Is it better to put the command tha sets the default policy (DROP in > my case) to the beginning of the script and then writing the ACCEPT > section or the opposite? IMO is better to set DROP as default policy and allow only the traffic you *really* need. I use DROP for INPUT and FORWARD. I have ACCEPT for OUTPUT on my home box. This approach will fit nearly all easy installations. What do you plan to deploy on "netfiltered" machine? regards, Astib(); -- A l e s S t i b a l, Wintel free, powered by AthlonXP and Gentoo Linux. Giganet.cz community network, Litomerice, Czech Republic