From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bantam Subject: FTP Forwarding Date: Fri, 22 Nov 2002 10:08:16 -0000 Sender: netfilter-admin@lists.netfilter.org Message-ID: <00a801c2920f$1322d5d0$e6353fc1@nexor.co.uk> 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" To: netfilter 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