vsftpd, " ftp: connect: No route to host "

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
OraISV
Posts: 11
Joined: 2006/02/05 20:44:33
Location: USA

vsftpd, " ftp: connect: No route to host "

Post by OraISV » 2006/03/01 02:01:03

I can log into ftp from a remote server. I get request for user name and password.
Everything looks fine, and I attempt a transfer.
I have removed identifying info fromt the output shown below.

[root@www ~]# ftp rxxxxxxst.com
Connected to rxxxxxxst.com
220 (vsFTPd 2.0.1)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name ( rxxxxxxst.com): xxxx
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put date.txt
local: date.txt remote: date.txt
227 Entering Passive Mode (............)
ftp: connect: No route to host
ftp> ls
227 Entering Passive Mode (.............)
ftp: connect: No route to host
ftp>

Thansk for any help or tips!

OraISV
Posts: 11
Joined: 2006/02/05 20:44:33
Location: USA

Caused by CentOS firewall

Post by OraISV » 2006/03/01 15:51:23

== update ==
We discovered that the firewall on CentOS 4.2 is blocking ftp
passive mode transfers. We need to figure out how to get
the firewall to allow these transfers.

==================================

More info:
If I turn passive mode OFF, ftp works fine

ftp> passive
Passive mode off.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x 2 527 528 4096 Mar 01 04:34 bin
drwxr-xr-x 3 527 528 4096 Mar 01 04:37 tars
ftp> passive
Passive mode on.
ftp> ls
227 Entering Passive Mode (999x999x999x999)
ftp: connect: No route to host

K_Frye
Posts: 425
Joined: 2005/07/13 01:48:35
Location: Canada

vsftpd, " ftp: connect: No route to host "

Post by K_Frye » 2006/03/01 18:59:44

[quote]
OraISV wrote:
I can log into ftp from a remote server. I get request for user name and password.
Everything looks fine, and I attempt a transfer.
I have removed identifying info fromt the output shown below.

[root@www ~]# ftp rxxxxxxst.com
Connected to rxxxxxxst.com
220 (vsFTPd 2.0.1)
530 Please login with USER and PASS.
530 Please login with USER and PASS.
KERBEROS_V4 rejected as an authentication type
Name ( rxxxxxxst.com): xxxx
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put date.txt
local: date.txt remote: date.txt
227 Entering Passive Mode (............)
ftp: connect: No route to host
ftp> ls
227 Entering Passive Mode (.............)
ftp: connect: No route to host
ftp>

Thansk for any help or tips![/quote]

Check out this thread:

http://lists.centos.org/pipermail/centos/2005-December/017365.html

Post Reply

Return to “CentOS 4 - Server Support”