From owner-freebsd-questions Mon May 10 23:32:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from drwho.xnet.com (drwho.xnet.com [205.243.140.183]) by hub.freebsd.org (Postfix) with ESMTP id 823B315033 for ; Mon, 10 May 1999 23:32:36 -0700 (PDT) (envelope-from drwho@drwho.xnet.com) Received: (from drwho@localhost) by drwho.xnet.com (8.9.3/8.9.2) id BAA05447 for freebsd-questions@freebsd.org; Tue, 11 May 1999 01:32:35 -0500 (CDT) (envelope-from drwho) Date: Tue, 11 May 1999 01:32:35 -0500 From: Michael Maxwell To: freebsd-questions@freebsd.org Subject: Natd and ipfw dilemma... Message-ID: <19990511013235.C2583@drwho.xnet.com> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ok, I've been working on this for quite a while now and don't quite know how to proceed... First, the specifics: I'd like to be able to connect an internal network on the 192.168.16.x address range, but still be able to connect to the outside world via an assigned IP address from my ISP (via modem with pppd). I know this is possible with natd and ipfw, but I'm not sure how. What address should I assign to the "gateway" machine? Should I give it the internal net address? Or the external? In other words, which interface should I alias, ppp0 or xl0 (ethernet)? If this makes no sense, let me know and I'll try to clarify... -- Michael Maxwell | http://www.xnet.com/~drwho/ -- Stop the illegal attacks on Serbia NOW! -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message