Skip site navigation (1)Skip section navigation (2)
Date:      24 Aug 2002 19:53:00 +0000
From:      Josh Paetzel <friar_josh@webwarrior.net>
To:        Troy Drake <tdrake@myrealbox.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting up a gateway to just pass data
Message-ID:  <1030218781.256.1.camel@markx.vladsempire.net>
In-Reply-To: <3D67FFDD.DC2EFEB2@myrealbox.com>
References:  <3D67FFDD.DC2EFEB2@myrealbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2002-08-24 at 21:51, Troy Drake wrote:
> 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

What you want to do is build a packet filtering bridge.  There are a
number of documents that cover this topic, such as this one:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/filtering-bridges/

Josh




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1030218781.256.1.camel>