On Wed, 2011-11-09 at 13:27 +0100, Simon Hobson wrote:
> Shorewall 4.4.11 on Debian Squeeze
> 
> Is there a quick way to setup many-to-many NAT ?
> 
> Ie, I want to have clients in one zone (192.168.1.x) to be NAT'd to 
> unique addresses in a different zone (10.0.0.x)
> 
> Otherwise, as I read the man pages, I'd need to put this in the masq file :
> eth1   eth2:192.168.1.2   10.0.0.2
> eth1   eth2:192.168.1.3   10.0.0.3
> and so on
> Is that correct ?
> 
> Or I could put
> eth1   eth2   10.0.0.2-10.0.0.254::persistent
> to get a random but persistent mapping ?

Will netmap (http://www.shorewall.net/netmap.html) serve your need?

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to