From owner-freebsd-questions@FreeBSD.ORG Tue Oct 7 09:04:50 2003 Return-Path: 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 BE3CE16A4B3 for ; Tue, 7 Oct 2003 09:04:50 -0700 (PDT) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by mx1.FreeBSD.org (Postfix) with ESMTP id 589E843FE0 for ; Tue, 7 Oct 2003 09:04:47 -0700 (PDT) (envelope-from fgleiser@cactus.fi.uba.ar) Received: from cactus.fi.uba.ar (cactus.fi.uba.ar [157.92.49.108]) by cactus.fi.uba.ar (8.12.3/8.12.3) with ESMTP id h97G2ZfP023949; Tue, 7 Oct 2003 13:02:35 -0300 (ART) (envelope-from fgleiser@cactus.fi.uba.ar) Date: Tue, 7 Oct 2003 13:02:35 -0300 (ART) From: Fernando Gleiser To: Luke Kearney In-Reply-To: <20031007110654.B2D9.LUKEK@meibin.net> Message-ID: <20031007125208.P17934-100000@cactus.fi.uba.ar> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Scanned-By: MIMEDefang 2.37 cc: FreeBSD Questions Subject: Re: IPF and Routing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2003 16:04:50 -0000 On Tue, 7 Oct 2003, Luke Kearney wrote: > > Hello, > I have question regarding IPNat and routing. The situation is that I > need to setup a network where each machine gets a unique global IP > address from behind a firewall which performs NAT. I have 16 addresses > so my question is can I alias 14 addresses to the primary nic and then > config each private address to map directly to one global address or > have I missed something fundamental about this ? Too much time playing with PIX, isn't it? You can do that very easily with ipnat, just add: map nic internal/mask -> global/32 portmap tcp/udp 30000:50000 to the top of /etc/ipnat.rules and then "ipnat -FC -f /etc/ipnat.rules" Change nic, internal and external to suit your needs. Fer > > Any advice is appreciated. > > TIA LukeK > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >