[ale] ftp - no route to host???

David Tomaschik david at tuxteam.com
Mon Jul 26 22:33:56 EDT 2010


It should be noted that IPTables can be configured to respond with an
ICMP Host Unreachable packet if you want.  For example,

iptables -A INPUT -p tcp --dport 21 -j REJECT --reject-with
icmp-host-unreachable

David

On 07/26/2010 10:15 PM, Richard Bronosky wrote:
>>> ftp $IP_ADDR
>>>
>>> returns:
>>>
>>> ftp: connect: No route to host
>>>       
> If the error was connection refuse, or connection reset, I'd say it
> was either a firewall on the box or by his ISP. But, "No route" means
> his client does not know that it has a network interface capable of
> routing traffic to the given host (which in this case is specified by
> an IP address). Although he is able to reach it via SSH and UDP ping.
> That's jacked up.
>
> Maybe try:
> echo $IP_ADDR # make sure you have the right var/value
> host $IP_ADDR # seeing if you can do a [reverse] lookup on the var/value
> telnet $IP_ADDR 22 # standard ssh port number
> telnet $IP_ADDR 21 # standard ftp port number
>
> If you get "No route to host" from one of those telnets and not the
> other... evil is afoot.
>
>   


-- 
David Tomaschik, RHCE
Ubuntu Community Member
Moderator, LinuxQuestions.org
GPG: 0x6D428695


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
Url : http://mail.ale.org/pipermail/ale/attachments/20100726/89a68e5f/attachment.bin 


More information about the Ale mailing list