From mboxrd@z Thu Jan 1 00:00:00 1970 From: Filip Sneppe Subject: Re: Ftp server behind firewall Date: Fri, 6 May 2005 16:35:23 +0200 Message-ID: <9151ac2a0505060735cbf5dc8@mail.gmail.com> References: Reply-To: Filip Sneppe Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: Pierre Santana Cc: netfilter@lists.netfilter.org On 5/6/05, Pierre Santana wrote: > Hi; >=20 > I have a ftp server behind firewall and I can connect on ftp server > but I can't list the archives of the directory. > The ftp server use the port 21 to connections and 20 to send packages. > How I can do the iptables rules? >=20 Did you do a: modprobe ip_conntrack_ftp and, in case you are using NAT: modprobe ip_nat_ftp and allowing RELATED traffic in your firewall rules ? Regards, Filip