From owner-freebsd-questions Mon May 10 23:49:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 292C514CAA for ; Mon, 10 May 1999 23:49:26 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id CAA10419; Tue, 11 May 1999 02:11:56 -0500 (EST) Date: Tue, 11 May 1999 02:11:54 -0500 (EST) From: Alfred Perlstein To: Michael Maxwell Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Natd and ipfw dilemma... In-Reply-To: <19990511013235.C2583@drwho.xnet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 11 May 1999, Michael Maxwell wrote: > 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)? you want to run it on the outside interface, ppp0. but better yet, I find that userland ppp is a good alternative and has the natd ability if run with the -alias option (ppp -alias ...) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message