From owner-freebsd-questions Sun Oct 27 11:18:14 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 DD37B37B401 for ; Sun, 27 Oct 2002 11:18:12 -0800 (PST) Received: from smtp02.mrf.mail.rcn.net (smtp02.mrf.mail.rcn.net [207.172.4.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EA6443E4A for ; Sun, 27 Oct 2002 11:18:12 -0800 (PST) (envelope-from rjhalljr@starpower.net) Received: from 66-44-54-46.s46.tnt1.lnhva.md.dialup.rcn.com ([66.44.54.46] helo=bronse.starpower.net) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 185svK-00021c-00 for freebsd-questions@freebsd.org; Sun, 27 Oct 2002 14:18:11 -0500 Message-Id: <5.1.1.6.1.20021027141511.00ad07e8@pop.starpower.net> X-Sender: rjhalljr@pop.starpower.net X-Mailer: QUALCOMM Windows Eudora Version 5.1.1 Date: Sun, 27 Oct 2002 14:18:21 -0500 To: freebsd-questions@freebsd.org From: Robert Hall Subject: Re: Starting natd In-Reply-To: <20021026204138.GA242@earth.dpsca.bg> References: <5.1.1.6.1.20021026141358.00a82db0@pop.starpower.net> <5.1.1.6.1.20021026141358.00a82db0@pop.starpower.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 11:41 PM 10/26/2002 +0300, you wrote: >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. I'm using kernel ppp (pppd). It is already set up and it runs. I have set up FreeBSD boxes before with this configuration, and natd started automatically and ran without any intervention on my part. For some reason, it doesn't do that this time, and I have to start it manually. I'm hoping someone can tell me why, so I can fix it. Bob Hall To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message