From owner-freebsd-questions Thu Jan 14 02:22:15 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA18856 for freebsd-questions-outgoing; Thu, 14 Jan 1999 02:22:15 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from alcatel.fr (gatekeeper.alcatel.fr [194.133.58.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA18845 for ; Thu, 14 Jan 1999 02:22:13 -0800 (PST) (envelope-from Thierry.Herbelot@alcatel.fr) Received: from alcatel.fr (gatekeeper-ssn.alcatel.fr [155.132.180.244]) by mailgate.alcatel.fr (ALCANET/SMTP) with ESMTP id LAA02504; Thu, 14 Jan 1999 11:19:19 +0100 Received: from lune.telspace.alcatel.fr (lune.telspace.alcatel.fr [155.132.144.65]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with ESMTP id LAA16072; Thu, 14 Jan 1999 11:18:15 +0100 (MET) Received: from telss1 (telss1.telspace.alcatel.fr [155.132.51.4]) by lune.telspace.alcatel.fr (8.9.1a/8.9.1) with SMTP id KAA27076; Thu, 14 Jan 1999 10:58:12 +0100 (MET) Received: from telspace.alcatel.fr (nairobi.telspace.alcatel.fr) by telss1 (4.1/SMI-4.1) id AA24591; Thu, 14 Jan 99 10:49:11 +0100 Message-Id: <369DC255.3BC9E03C@telspace.alcatel.fr> Date: Thu, 14 Jan 1999 11:09:25 +0100 From: HERBELOT Thierry Organization: Alcatel Telspace X-Mailer: Mozilla 4.5 [en] (X11; I; SunOS 5.5.1 sun4m) X-Accept-Language: en Mime-Version: 1.0 To: chemtechweb@psn.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Running NATD on a dialup connection References: <369DBA08.8238968E@psn.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Emmanuel Gravel wrote: Hello, What about ppp -alias ? *(on a recent userland-ppp) TfH > > I have a small home network. Two Win98 machines and a FreeBSD machine. > They're all networked on 10baseT, and the FreeBSD machine will have the > dialup connection (right now I'm running WinGate on one of the Win98 > machines). I've been reading on NATD and I'm setting up rc.conf, and > I need to specify the public interface on which to setup NATD. The > problem is that I read that the public interface needs to be connected > before running NATD. This is impossible since there's only one phone > line here. I want to setup the connection so that if one of the two > other computers requests the Internet, then pppd will start up > automatically, and NATD will handle the aliasing. I'm also setting > up the firewall rules (right now the kernel is set to deny everything > and I need to define the rulesets properly). I also know there are > issues with named. I want it to be authoritative for the network, yet > when requesting from the outside world, be a caching only server. I > have DNS and BIND second edition, so I'll check this up on my own. > > My basic question is how do I get NATD to work properly if I have to > make my PPP connection alive before starting it, yet only need to start > pppd on request? Do I setup NATD within rc.conf, or elsewhere? > > Thanks, > > Manu > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message