Re: "No route to host" when trying to connect to FTP server on the Internet
On Apr 21, 2009, at 1:35 PM, Redd Vinylene wrote: I think I just got some help on IRC: is it on the local network of your firewall and not this computer? yes! thats why you can't connect to it Suggestions on how to fix this problem using pf would be greatly appreciated though. Many thanks! The canonical method would be to set up split DNS, or even just add an /etc/hosts entry with the hostname listing the LAN IP rather than an external IP. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "No route to host" when trying to connect to FTP server on the Internet
Redd Vinylene wrote: On Tue, Apr 21, 2009 at 9:13 PM, Chuck Swiger 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 issuesee 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "No route to host" when trying to connect to FTP server on the Internet
On Tue, Apr 21, 2009 at 10:27 PM, Chuck Swiger wrote: > On Apr 21, 2009, at 1:25 PM, Redd Vinylene wrote: > >> 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. >> > > Then it could be a legitimate error being returned by a remote router, > also. traceroute/mtr to the problematic host could be helpful > > -- > -Chuck > > I think I just got some help on IRC: is it on the local network of your firewall and not this computer? yes! thats why you can't connect to it Suggestions on how to fix this problem using pf would be greatly appreciated though. Many thanks! -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "No route to host" when trying to connect to FTP server on the Internet
On Apr 21, 2009, at 1:25 PM, Redd Vinylene wrote: 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. Then it could be a legitimate error being returned by a remote router, also. traceroute/mtr to the problematic host could be helpful -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "No route to host" when trying to connect to FTP server on the Internet
On Tue, Apr 21, 2009 at 9:13 PM, Chuck Swiger 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. -- http://www.home.no/reddvinylene ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: "No route to host" when trying to connect to FTP server on the Internet
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"