Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 2009 15:35:59 -0500
From:      Adam Vandemore <amvandemore@gmail.com>
To:        questions@freebsd.org
Subject:   Re: "No route to host" when trying to connect to FTP server on the Internet
Message-ID:  <49EE2E2F.1090108@gmail.com>
In-Reply-To: <f1019d520904211325s30d95e70n1c3ff47ff5a547b1@mail.gmail.com>
References:  <f1019d520904211140j674a9bfai393b57e3eff72941@mail.gmail.com>	<623A6956-186A-4F24-8040-FC908541A59D@mac.com> <f1019d520904211325s30d95e70n1c3ff47ff5a547b1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Redd Vinylene wrote:
> On Tue, Apr 21, 2009 at 9:13 PM, Chuck Swiger <cswiger@mac.com> wrote:
>
>   
>> On Apr 21, 2009, at 11:40 AM, Redd Vinylene wrote:
>>
>>     
>>> I'm trying to connect to my friend's FTP server but I'm getting a "No
>>> route
>>> to host" when trying from my NAT workstation. It works just fine when I
>>> connect from my NAT server though.
>>>
>>> Internet -> NAT server (192.168.187.1) -> NAT workstation (192.168.187.2)
>>>
>>>       
>> Presumably you should have a default route set?  (Check netstat -r.)  If
>> not, consider:
>>
>>  route add default 192.168.187.1
>>
>> Regards,
>> --
>> -Chuck
>>
>>
>>     
> Yeah, the default route is set. Routing works just fine. In fact, it's been
> working for years. It's just this one FTP server that it won't connect to.
>   
For awhile I had been dealing with a sort similar issue....see here:

http://forums.freebsd.org/showthread.php?t=890

There where other issues with it as well but that was the most 
reproducible.  Also sshd didn't work to same remote host either.  I 
recently upgraded the server from 6.2 -> 7.1 including updated ports 
rebuild.  That fixed every nagging issue with the system including 
nat/routing stuff.  My best guess is there was some issues w/ pf in 6.2 
as no config files for application got changed including fw rules yet 
now it works.

-- 
Adam Vandemore
Systems Administrator
IMED Mobility
(605) 498-1610




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EE2E2F.1090108>