From owner-freebsd-questions Thu Jan 14 01:34:01 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA14079 for freebsd-questions-outgoing; Thu, 14 Jan 1999 01:34:01 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from neptune.psn.net (neptune.psn.net [207.211.58.16]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA14034 for ; Thu, 14 Jan 1999 01:34:00 -0800 (PST) (envelope-from chemtechweb@psn.net) Received: from 2-22.phx.psn.net ([209.63.50.22] helo=psn.net) by neptune.psn.net with esmtp (PSN Internet Service 2.10 #1) for freebsd-questions@freebsd.org id 100j92-0002fe-00; Thu, 14 Jan 1999 02:32:52 -0700 Message-ID: <369DBA08.8238968E@psn.net> Date: Thu, 14 Jan 1999 02:34:00 -0700 From: Emmanuel Gravel Reply-To: chemtechweb@psn.net Organization: Orbit Communications X-Mailer: Mozilla 4.08 [en] (Win98; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Running NATD on a dialup connection Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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