From owner-freebsd-questions Sat Oct 26 13:41:54 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 12A0937B401 for ; Sat, 26 Oct 2002 13:41:53 -0700 (PDT) Received: from mail.bg (dialup95.varna.spnet.net [213.169.38.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0A2C43EAF for ; Sat, 26 Oct 2002 13:41:47 -0700 (PDT) (envelope-from dpenev@mail.bg) Received: from mail.bg (localhost [127.0.0.1]) by mail.bg (8.12.5/8.12.5) with ESMTP id g9QKfsRi000349; Sat, 26 Oct 2002 23:41:56 +0300 (EEST) (envelope-from dpenev@mail.bg) Received: (from root@localhost) by mail.bg (8.12.5/8.12.5/Submit) id g9QKfcnc000348; Sat, 26 Oct 2002 23:41:38 +0300 (EEST) Date: Sat, 26 Oct 2002 23:41:38 +0300 From: "D. Penev" To: Robert Hall Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Starting natd Message-ID: <20021026204138.GA242@earth.dpsca.bg> Mail-Followup-To: Robert Hall , freebsd-questions@FreeBSD.ORG References: <5.1.1.6.1.20021026141358.00a82db0@pop.starpower.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <5.1.1.6.1.20021026141358.00a82db0@pop.starpower.net> User-Agent: Mutt/1.4i 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, Oct 26, 2002 at 02:18:01PM -0500, Robert Hall wrote: >Date: Sat, 26 Oct 2002 14:18:01 -0500 >To: freebsd-questions@freebsd.org >From: Robert Hall >Subject: Starting natd > >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? If you use user ppp ( ppp(8) not pppd(8)) I suggest you to use build in nat in rc.conf : ppp_nat="YES" But if you for some reasons want to use natd, then you must first start ppp or pppd before starting natd. Note if you use ppp set interface to tun0 not to ppp0. > >Bob Hall > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message -- Regards, D. Penev To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message