From owner-freebsd-questions Sun Dec 22 11:59:19 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 54C1837B401 for ; Sun, 22 Dec 2002 11:59:18 -0800 (PST) Received: from isber.ucsb.edu (research.isber.ucsb.edu [128.111.147.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 908A643EDE for ; Sun, 22 Dec 2002 11:59:14 -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 18QCFf-000MZz-00; Sun, 22 Dec 2002 11:59:07 -0800 Date: Sun, 22 Dec 2002 11:59:07 -0800 (PST) From: randall ehren To: Martin Karlsson Cc: Subject: Re: Internet connection sharing In-Reply-To: <20021222194523.GA68186@foo104-144.visit.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanner: exiscan *18QCFf-000MZz-00*gtkSJhRR1U6* (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 > > or you can use IPFILTER, less involved setup: > > http://www.isber.ucsb.edu/~randall/wireless/ipnat.html > > the above URL refers to a page containing some > info on setting up ipnat with one network card: > URL:http://forum.redigital.org/read.php?f=2&i=9&t=8 > > However, that URL appears to no longer be valid. :-( > Does this info exist somewhere else? instead of assigning a private (192.168.x.x) address to your 2nd network card, just do the following: % ifconfig fxp0 alias 192.168.x.x netmask 255.255.255.255 where fxp0 is your primary network card. in this example you have to assume your gateway/isp connection is connected to a hub/switch and all of your comptuters, including the one doing NAT, are connected to the hub/switch as well. -- :// 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