From owner-freebsd-questions Fri Dec 4 18:09:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA21781 for freebsd-questions-outgoing; Fri, 4 Dec 1998 18:09:09 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA21776 for ; Fri, 4 Dec 1998 18:09:08 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id SAA01724; Fri, 4 Dec 1998 18:09:03 -0800 (PST) Date: Fri, 4 Dec 1998 18:09:03 -0800 (PST) From: Dan Busarow To: Stan Brown cc: Free BSD Questions list Subject: Re: IP Masquerading via 2 ethernet cards? In-Reply-To: <199812050050.QAA15044@hub.freebsd.org> 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 Fri, 4 Dec 1998, Stan Brown wrote: > i have been using user mode ppp, and IP masquerading to gateway my > local network, vias an ISP for years. > > Well cable modems have arived in my area, and I am looking foward to > the increased speed. At first it looked simple, just add a 2nd ehternet > card, and chaange my routing, and I would be home frre. > > Then I remembered the masqureading part of the equation. Can I do this? Yes. You'll need ipfw and natd. Setup ipfw first, see the man page for information and the changes you need to make to your kernel (you will need to create a new kernel). Set the type to OPEN in rc.conf to get started. Setup natd next, again see the man page and its suggested options. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message