DNAT/SNAT question

Gary W. Smith gary at primeexalia.com
Thu Apr 14 19:25:27 CEST 2005


I have a set of external IP's which are SNAT'd/DNAT's to a private
range.  On this particular network there are 64 of them.  In the part we
create a 1:1 SNAT and a 1:1 DNAT for each IP.  Since we have a /26 is it
possible to do this in a single line rather than having 64 entries?  I
know that if we specificy multiple --souce or --destinations it says it
will do round robin, which is not what we want.

Gary Smith



More information about the netfilter mailing list