From: Gavin Hamill Subject: Re: droping too many ports Date: Thu, 23 Sep 2004 21:51:13 +0100 Sender: netfilter-bounces@lists.netfilter.org Message-ID: <200409232151.13935.gdh@acentral.co.uk> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org On Thursday 23 September 2004 21:45, Askar wrote: > hi all > > what if I do (and im doing this from last two hours ;)) > > iptables -A FORWARD -p tcp --dport 31000:65500 -j DROP > iptables -A FORWARD -p udp --dport 31000:65500 -j DROP > > yes I am Droping too many ports at once, (actually its default ACCEPT > machine), I think you answered your own question - why not make the default policy DROP, and then just permit the services you want? gdh