$IPTABLES -t nat -A PREROUTING -p tcp -d $EXT_LAN_FW --dport 9000 -j DNAT --to-destination $IP_FTPSERVER:9000
But this don't work with ftp flow...
Luis Nieto wrote:
El Jue 03 Feb 2005 04:56, escribió:
$IPTABLES -t nat -A PREROUTING -p tcp -d $EXT_LAN_FW --dport 21 -j DNAT --to-destination $IP_FTPSERVER:9000
In this way, all the requirements for FTP connections that arrives to your extern interface should be redirected to $IP_FTPSERVER:9000
________ Information from NOD32 ________ This message was checked by NOD32 Antivirus System for Linux Mail Server. http://www.nod32.com