From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stewart Thompson Subject: RE: FTP Forwarding Date: Fri, 22 Nov 2002 02:31:49 -0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: References: <00a801c2920f$1322d5d0$e6353fc1@nexor.co.uk> Reply-To: stewart.thompson@shaw.ca Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: <00a801c2920f$1322d5d0$e6353fc1@nexor.co.uk> 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" To: Bantam , netfilter Wasim: If you do an lsmod, does it show that ip_nat_ftp and ip_conntrack_ftp are loaded? They are required to make ftp work through nat. Also what Linux Distro and Iptables are you using? Stu......... -----Original Message----- From: netfilter-admin@lists.netfilter.org [mailto:netfilter-admin@lists.netfilter.org]On Behalf Of Bantam Sent: November 22, 2002 2:08 AM To: netfilter Subject: FTP Forwarding Hi, I've been trying to forward port 21 to an ftp server on another machine, IP address 10.0.0.199. eth1 - external (connected to the net) eth0 - internal /sbin/iptables -A FORWARD -p tcp -i eth1 --dport 21 -j ACCEPT /sbin/iptables -A PREROUTING -t nat -p tcp -i eth1 --dport 21 -j DNAT --to 10.0.0.199:21 but can't get it to work.. any ideas ? Thanks Wasim