From: Budai Laszlo Subject: Re: ip_conntrack_ftp problem Date: Fri, 28 Mar 2003 11:43:20 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: <3E841938.3050708@ms.sapientia.ro> References: <3E83FC78.7080801@ms.sapientia.ro> <1048840079.1236.45.camel@vincentlim> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: 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: Vincent Lim , netfilter Thanks, this solved my problem. However, if you check my first post you can see thet in the FORWARD chain I had : ACCEPT all -- anywhere anywhere state RELATED but seems it was not enough ... :( and I don't understand. isn't your rule more restrictiv (state RELATED, ESTABILISHED) than my old rule (just related)? Thanks again, Laszlo Vincent Lim wrote: >On Fri, 2003-03-28 at 15:40, Budai Laszlo wrote: > > > >>Chain FORWARD (policy ACCEPT) >> >> > > > > > >>ACCEPT tcp -- 192.168.101.0/24 anywhere tcp dpt:ftp >>ACCEPT tcp -- 192.168.101.0/24 anywhere tcp dpt:ftp-data >>DROP tcp -- 192.168.101.0/24 anywhere >> >> > > > > > >>but ftp trough the firewall still does not work. :( >>what is wrong? >> >> > >I would think that the replying packets can't get back. >Try putting a: >iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT > > >