Large-scale 1-1 NAT
Christopher Cowart
ccowart at rescomp.berkeley.edu
Mon Sep 24 13:35:17 PDT 2007
On Mon, Sep 24, 2007 at 11:58:15AM +0300, Cristian KLEIN wrote:
>Christopher Cowart wrote:
>>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.
We have automated intake and processing for security cases. These often
just contain the IP the bad traffic appeared to be coming from. While we
could probably reconstruct things using netflow, we definitely wouldn't
have the staff time to do so. As such, we'd have to keep this
information in a database, which will add up fast. Keeping track who was
using an IP at a given time is relatively easy. Granted, this places the
complexity in the network and not the security processing, but that's
where we have resources.
>>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.
We would prefer to stick with ipfw. The most common documentation I've
founded is natd+ipfw. I've also seen pf+ipnat. I haven't really seen any
documentation on ipfw+ipnat. Is this possible? Or would we be able to do
ipfw+pf+ipnat? What solution would scale best to 1500-4000 authenticated
users?
--
Chris Cowart
Lead Systems Administrator
Network & Infrastructure Services, RSSP-IT
UC Berkeley
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 825 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20070924/558e7486/attachment.pgp
More information about the freebsd-net
mailing list