From owner-freebsd-questions Sat Oct 26 15:41:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 12B4C37B401 for ; Sat, 26 Oct 2002 15:41:39 -0700 (PDT) Received: from tmmc.dyndns.org (12-254-249-71.client.attbi.com [12.254.249.71]) by mx1.FreeBSD.org (Postfix) with SMTP id C770543E75 for ; Sat, 26 Oct 2002 15:41:36 -0700 (PDT) (envelope-from soren@tmmc.dyndns.org) Received: (qmail 58966 invoked by uid 1001); 26 Oct 2002 22:41:33 -0000 Date: Sat, 26 Oct 2002 16:41:33 -0600 From: Soren Harward To: Robert Hall Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Starting natd Message-ID: <20021026224133.GB58921@tmmc.dyndns.org> References: <5.1.1.6.1.20021026141358.00a82db0@pop.starpower.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.1.6.1.20021026141358.00a82db0@pop.starpower.net> User-Agent: Mutt/1.4i X-URL: http://tmmc.dyndns.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat 26 Oct 2002 at 14:18:01, Robert Hall said: > I'm setting up a FBSD 4.4 box as a gateway. I've got > natd_enable="YES" > natd_interface="ppp0" > in rc.config, but I can't get natd to run without entering > natd -interface ppp0 > at the comand prompt. I assume this is a configuration problem, but I've > been through the files several times and can't find an error. Can someone > tell me how to get natd to run automatically? According to the manpage, natd is designed to be used with ethernet-type permanent connections that start at boot. What happens is that natd starts, using ppp0, which isn't active at boot time, and then shuts down. Use the PPP daemon's nat option instead (see 'man natd'). -- Soren Harward soren@byu.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message