From owner-freebsd-questions Thu Jan 14 02:42:43 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA21003 for freebsd-questions-outgoing; Thu, 14 Jan 1999 02:42:43 -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 CAA20992 for ; Thu, 14 Jan 1999 02:42:41 -0800 (PST) (envelope-from chemtechweb@psn.net) Received: from 2-92.phx.psn.net ([209.63.50.92] helo=psn.net) by neptune.psn.net with esmtp (PSN Internet Service 2.10 #1) id 100kDN-0000Zr-00; Thu, 14 Jan 1999 03:41:25 -0700 Message-ID: <369DCA1C.AAD5ED43@psn.net> Date: Thu, 14 Jan 1999 03:42:36 -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: HERBELOT Thierry CC: freebsd-questions@FreeBSD.ORG Subject: Re: Running NATD on a dialup connection References: <369DBA08.8238968E@psn.net> <369DC255.3BC9E03C@telspace.alcatel.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The problem isn't with the PPP daemon I'm using, it's with setting up some kind of IP aliasing scheme (in this case NATD). The nic's are using IP's in the 192.168.0.x range, and I'm connecting through dialup to the net, which means through the tun0 interface if I understand correctly. I want the outside world to see all the computers as being just one (the PPP connection) and still have all my computers get the info they request, plus have some security (i.e. the firewall portion). > > 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. As you can see, I'd need to have PPP or pppd running all the time and be connected before I can start NATD (unless there's something about ppp that replaces NATD, but I don't remember hearing anything about it...) Thanks anyways :) Manu HERBELOT Thierry wrote: > > What about ppp -alias ? *(on a recent userland-ppp) > [...] > > 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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message