From mboxrd@z Thu Jan 1 00:00:00 1970 From: Curby Subject: Re: iptables NEW or SYN Date: Thu, 13 May 2010 16:46:04 -0600 Message-ID: References: Mime-Version: 1.0 Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Markus Feldmann Cc: netfilter@vger.kernel.org On Thu, May 13, 2010 at 3:45 PM, Markus Feldmann wrote: > Thanks for your answer, > > i have an ESTABLISHED rule, look at line 127 Having a rule doesn't mean that it's doing what you want it to. =) Since you have DROP policies, having EST/REL packets return to the originating INPUT/FORWARD chain just drops them if nothing else matches. Instead, try ACCEPT, as in: iptables -A attacksinput -m state --state ESTABLISHED,RELATED -j ACCEPT Can I get confirmation from Jan or someone else that a preferred and more future-proof syntax is the following? iptables -A attacksinput -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT --Mike