From owner-freebsd-questions Sun Dec 22 11:15:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 547C637B401 for ; Sun, 22 Dec 2002 11:15:33 -0800 (PST) Received: from isber.ucsb.edu (research.isber.ucsb.edu [128.111.147.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD4C843EDE for ; Sun, 22 Dec 2002 11:15:29 -0800 (PST) (envelope-from randall@isber.ucsb.edu) Received: from localhost ([127.0.0.1] helo=research.isber.ucsb.edu) by isber.ucsb.edu with esmtp (Exim 3.36 #2) id 18QBZF-000MK5-00; Sun, 22 Dec 2002 11:15:17 -0800 Date: Sun, 22 Dec 2002 11:15:17 -0800 (PST) From: randall ehren To: David Kelly Cc: Christophe Simon , Subject: Re: Internet connection sharing In-Reply-To: <20021222180327.GB49806@grumpy.dyndns.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanner: exiscan *18QBZF-000MK5-00*w9nhXDpmz1M* (ISBER - Institute for Social, Behavioral, and Economic Research) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > I'm trying to configure an old K6 200 as a gateway to share my internet > > connection at home. My LAN connected interface is xl0 (192.168.0.1), and my > > internet connected interface is ed0 (DHCP). > > I followed the instructions to make a filtering bridge : > [...] > > IMO you don't want a filtering bridge. You want a NAT Gateway. Enable > the gateway kernel option, may have to compile divert sockets into the > kernel, ipfw is needed to divert packets to natd, run natd. or you can use IPFILTER, less involved setup: http://www.isber.ucsb.edu/~randall/wireless/ipnat.html in your case, fxp0 = ed0 and xl0 = wi0 (corresponding to the guide above) -randall -- :// randall s. ehren :// voice 805.893.5632 :// systems administrator :// isber|survey|avss.ucsb.edu :// institute for social, behavioral, and economic research To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message