Discussion:
no route to host
Payal Rathod
2003-05-21 06:03:49 UTC
Permalink
Hi,
I am doing ftp on a server using pure-ftp with a Linux simple ftp client. But I get an error,
ftp> ls
227 Entering Passive Mode (192,168,10,212,173,151)
ftp: connect: No route to host

What is the problem here and what is the solution?

pureftpd is just started as,
/usr/local/sbin/pure-ftpd

Also, I am not gettingn how to see which version of pure-ftpd I have on the server.
I also have root access to that server.

With regasrds,
-Payal
Jedi/Sector One
2003-05-21 06:58:30 UTC
Permalink
Post by Payal Rathod
I am doing ftp on a server using pure-ftp with a Linux simple ftp client. But I get an error,
ftp> ls
227 Entering Passive Mode (192,168,10,212,173,151)
ftp: connect: No route to host
What is the problem here and what is the solution?
Your server is behind a NAT gateway that wasn't properly configured to
handle the FTP protocol. The FTP server tells your client to connect to IP
address 192.168.10.212, and your client is not on the same network and thus
can't reach this private address.

If your firewall has something like a FTP proxy, enable it.

If it hasn't, forward a range of ports, declare that range of ports in
pure-ftpd with the -p switch, and also add the -P <IP Address of your
gateway> switch. There are some words about this in the FAQ also.
Post by Payal Rathod
pureftpd is just started as,
/usr/local/sbin/pure-ftpd
Also, I am not gettingn how to see which version of pure-ftpd I have on the server.
I also have root access to that server.
With regasrds,
-Payal
---------------------------------------------------------------------
--
__ /*- Frank DENIS (Jedi/Sector One) <***@42-Networks.Com> -*\ __
\ '/ <a href="http://www.PureFTPd.Org/"> Secure FTP Server </a> \' /
\/ <a href="http://www.Jedi.Claranet.Fr/"> Misc. free software </a> \/
p***@staticky.com
2003-05-21 17:17:02 UTC
Permalink
Post by Jedi/Sector One
Post by Payal Rathod
ftp> ls
227 Entering Passive Mode (192,168,10,212,173,151)
ftp: connect: No route to host
What is the problem here and what is the solution?
Your server is behind a NAT gateway that wasn't properly configured to
handle the FTP protocol. The FTP server tells your client to connect to IP
address 192.168.10.212, and your client is not on the same network and thus
can't reach this private address.
Well, now this time I connected to an IP which is not behind NAT. It is
on internet and is co-located in a data-farm.
Post by Jedi/Sector One
If your firewall has something like a FTP proxy, enable it.
You mean the server might have firewall? Well, actually no. But the ISPs
have their own firewalls for the servers in their care, a router level
firewall.

With warm regards,
-Payal
--
"Visit GNU/Linux Success Stories"
www.geocities.com/rpayal99
Guest-Book Section Updated.
Loading...