From owner-freebsd-questions Tue Sep 7 0:40:12 1999 Delivered-To: freebsd-questions@freebsd.org Received: from vulcan.addy.com (vulcan.addy.com [207.239.68.7]) by hub.freebsd.org (Postfix) with ESMTP id EA5F315AB4 for ; Tue, 7 Sep 1999 00:40:06 -0700 (PDT) (envelope-from francisco@natserv.com) Received: from tomasa (freyes.static.inch.com [207.240.212.43]) by vulcan.addy.com (8.8.5/8.6.12) with SMTP id DAA12152 for ; Tue, 7 Sep 1999 03:38:48 -0400 (EDT) Message-Id: <199909070738.DAA12152@vulcan.addy.com> From: "Francisco Reyes" To: "FreeBSD questions" Date: Tue, 07 Sep 1999 03:39:24 -0400 Reply-To: "Francisco Reyes" X-Mailer: PMMail 98 Professional (2.01.1600) For Windows 98 (4.10.1998) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Subject: Trying to make gateway not working and very slow boot Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am trying to make a FreeBSD box a gateway for a windows box at home. I am using Natd with an "open" firewall. Not only the windows box can not see the internet, but now the FreeBSD box takes a very long time at bootup specially at the startup of some of the daemons such as sendmail and Samba. Ping to the box works fine, but telnet to the box takes much longer than usual to get a prompt. Pinging the FreeBSD box works but trying to ping the windows box gives an error. PING tomasa.reyes.somos.net (10.0.0.10): 56 data bytes ping: sendto: No route to host Relevant files: /etc/rc.conf hostname="sanson.reyes.somos.net" ifconfig_ed1="inet 10.1.1.10 netmask 255.255.255.0" ifconfig_ppp0="inet 207.240.212.43 netmask 255.255.255.0" network_interfaces="ppp0 ed1 lo0" firewall_enable="YES" firewall_type="open" firewall_quiet="NO" natd_enable="YES" <===== natd_interface="tun0" <===== natd_flags="" gateway_enable="YES" <===== named_enable="YES" The name server is setup just as a chaching DNS. nslookup Default Server: localhost.reyes.somos.net Address: 127.0.0.1 /etc/resolv.conf domain somos.net nameserver 127.0.0.1 nameserver 207.240.128.28 nameserver 207.240.140.102 I confirmed that natd is coming up ps -aux |grep natd root 94 0.0 1.0 428 212 ?? Is 3:04AM 0:00.00 /sbin/natd -n tun0 The Natd man page specifies to have the interface up before using it. Where would call user ppp so it gets started before natd? Is this related to not finding a route to my windows box and the slow bootup? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message