Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Servers
Reload this Page vsftpd server: ftp: connect: No route to host
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Servers Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Reply
 
Thread Tools Display Modes
Old 06-28-2008   #1 (permalink)
linuxelu
Just Joined!
 
Join Date: Jun 2008
Posts: 1
vsftpd server: ftp: connect: No route to host

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!
linuxelu is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 04:52 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0