Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2003 13:02:35 -0300 (ART)
From:      Fernando Gleiser <fgleiser@cactus.fi.uba.ar>
To:        Luke Kearney <lukek@meibin.net>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: IPF and Routing
Message-ID:  <20031007125208.P17934-100000@cactus.fi.uba.ar>
In-Reply-To: <20031007110654.B2D9.LUKEK@meibin.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
>



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