Hi!

I try to setup a small ftp server (vsftpd) on CentOS 5.2.
It works verry well when i access it from my home network (ftp 192.168.1.10). I can list directory, transfer files and so on.

When I access the server from outside of my network, I can login but when I try to ls for example i receive: "ftp: connect: No route to host"

My firewall is configured properly. I have this line under INPUT chain in iptables:

ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp

In my router i set the IP forwarding on port 21.

Here is my vsftpd.conf:

anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_file=/var/log/vsftpd.log
xferlog_std_format=YES
idle_session_timeout=600
nopriv_user=ftpuser
ftpd_banner=Welcome to kostake's FTP service!!!
listen=YES

chroot_local_user=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
listen_port=21

Can someone please tell me what I'm doing wrong?

Thanks in advance!
Cheers!