From owner-freebsd-questions Sat Aug 24 14:54:20 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 6576437B400 for ; Sat, 24 Aug 2002 14:54:19 -0700 (PDT) Received: from smtp-send.myrealbox.com (smtp-send.myrealbox.com [192.108.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3A2343E42 for ; Sat, 24 Aug 2002 14:54:18 -0700 (PDT) (envelope-from tdrake@myrealbox.com) Received: from myrealbox.com tdrake@smtp-send.myrealbox.com [68.103.138.203] by smtp-send.myrealbox.com with NetMail SMTP Agent $Revision: 3.11 $ on Novell NetWare; Sat, 24 Aug 2002 15:54:20 -0600 Message-ID: <3D67FFDD.DC2EFEB2@myrealbox.com> Date: Sat, 24 Aug 2002 16:51:25 -0500 From: Troy Drake X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Setting up a gateway to just pass data Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi guys, With my current ISP I get 3 IP's, and I want to setup my FBSD box to simply pass packets between NIC's, pretty much so I can just utilize ipfilter as a firewall for my other machine. I've got both cards setup in the FBSD box, fxp0 and fxp1. fxp0 will be the one connecting to the modem, and fxp1 connected to a hub for other machines. I've read some tutorials, but they seem to only cover setting up private IP's for the internal network, but this wont work as I want to have my other machine still get it's own external IP. I'm thinking I need to enable it as a gateway, add BRIDGE in the kernel, then set ipfilter to pass all from fxp0 to fxp1 and vice versa, but I wanted to hear from you guys who may have done this. Please CC me as I'm not currently subscribed. Thanks, Troy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message