Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 12:57:19 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-net@freebsd.org
Cc:        Cristian KLEIN <cristi@net.utcluj.ro>, Christopher Cowart <ccowart@rescomp.berkeley.edu>
Subject:   Re: Large-scale 1-1 NAT
Message-ID:  <200709241257.27219.max@love2party.net>
In-Reply-To: <46F77C27.9050400@net.utcluj.ro>
References:  <20070924072517.GL19429@hal.rescomp.berkeley.edu> <46F77C27.9050400@net.utcluj.ro>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Monday 24 September 2007, Cristian KLEIN wrote:
> Hi,
>
> Christopher Cowart wrote:
> > Hello,
> >
> > We're working on expanding our wireless network. Unfortunately, we're
> > running out of IP addresses (aren't we all). As much as I'd love to
> > just tell everyone to use IPv6, that isn't gonna fly. The next plan
> > to consider is using an RFC1918 pool and NATing the traffic.
> >
> > If only it were that simple. The security folks have mandated that
> > anyone who can talk to the internet at large must be individually
> > indentifiable. This means having hundreds of users NATing to a single
> > internet-routable IP isn't happening.
>
> We used to have this problem too, for some NATed networks. The solution
> which has been adopted is to capture the flows on the gateway and send
> them the security team. The netflow protocol is very well suited for
> this.
>
> > The real question is: what's the best way to dynamically update the
> > NAT table?
>
> You may use IPFW with IPNAT or PF instead. PF is able to reload its
> configuration without disruption. Moreover, because the state table is
> not flushed during a reload, you can even move NATed clients from one
> public IP to another, without them noticing.

In fact pf comes with an almost ready-made sollution.  Check out authpf(8) 
for details.

-- 
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBG95gWXyyEoT62BG0RArAJAJsFohxWX58R9qWFN3gZBJbfKN3XYgCfeB2y
+jtgieVrxM1nMQ32VikG1to=
=djUd
-----END PGP SIGNATURE-----

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