From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Nichols Subject: Re: Can I use ip_conntrack_ftp on a server firewall ? Date: Fri, 16 Dec 2005 22:15:36 -0600 Message-ID: References: <004301c6029a$b49f8490$0200a8c0@AMDADVENT> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <004301c6029a$b49f8490$0200a8c0@AMDADVENT> 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"; format="flowed" To: netfilter@lists.netfilter.org Aaron Gray wrote: > I have a RedHat 9 and Fedora Core 4 Servers I am setting up. I am using > an FTP demon on the server, Apache mod_ftpd, but when enabled the > firewall is blocking the FTP connection. > > How do I create rules to allow FTP passive and active connections to the > server ? > > Do I use ip_conntrack_ftp or can I just create some rules that will do > the job ? You need ip_conntrack_ftp. To get that modules loaded automatically, Just edit /etc/sysconfig/iptables and add "ip_conntrack_ftp" to the "IPTABLES_MODULES=" line. -- Bob Nichols Yes, "NOSPAM" is really part of my email address.