Portforwading and FTP

Rob Sterenborg rob at sterenborg.info
Tue Jun 14 15:57:29 CEST 2005


> I would like to seek some help from expert regarding on port 
> forwarding and ftp.
> i have setup the POSTROUTING and PREROUTING in iptables 
> config to forward packet to ftp server. Then i try ftp client 
> to access my ftp server. I successfully access my ftp server 
> but i have error message come out 502: ILLEGAL port command. 
> Anybody can help me how to solve this issue.

Did you 'modprobe ip_conntrack_ftp' and 'modprobe ip_nat_ftp' ?


Gr,
Rob




More information about the netfilter mailing list