From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mohamed Eldesoky Subject: ftp connection tracking on multiple ports Date: Thu, 28 Oct 2004 12:18:24 +0200 Sender: netfilter-bounces@lists.netfilter.org Message-ID: <1403218a0410280318a6ed55b@mail.gmail.com> Reply-To: Mohamed Eldesoky Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: 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 Dear all, I have a server that runs FTP on two ports, port 21 and port 45 (for strange reasons) Now, i want conntrack to track the connections of both ports and their data ports !! I did that in my firewall script /sbin/modprobe ip_conntrack_ftp ports=21,45 $IPTABLES -A linweb_chain -p tcp -m multiport --destination-port 80,21,45 -j ACCEPT Is that all I need ?? -- Mohamed Eldesoky www.eldesoky.net RHCE