Date: Sat, 26 Oct 2002 23:41:38 +0300 From: "D. Penev" <dpenev@mail.bg> To: Robert Hall <rjhalljr@starpower.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Starting natd Message-ID: <20021026204138.GA242@earth.dpsca.bg> In-Reply-To: <5.1.1.6.1.20021026141358.00a82db0@pop.starpower.net> References: <5.1.1.6.1.20021026141358.00a82db0@pop.starpower.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <rjhalljr@starpower.net> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021026204138.GA242>