RV: How to make one to one NAT with iptables ?

Shane Chen shane@knowplace.org
Tue, 03 Jul 2001 17:11:37 -0700


Daniel Elías Robles wrote:
> 
> Doesn't one to one nat into your lan make a security hole ?

How does this create a security hole?

> Why not use dmz instead ?

One-to-one natting (or static NAT) and DMZ's aren't necessarily mutually
exclusive.
 
> Elías
> 
> On Mon, Jul 02, 2001 at 11:46:38AM +0800, Steven Foong wrote:
> > Hi !
> >
> > May I know how to make an one to one NAT with iptables ? I am using RedHat
> > 7.1 with kernel 2.4 and using IPTABLES. Now I need to map a few public IP
> to
> > private IP , how can I do it with iptables ? Thank You !

Check out the NETMAP patch from patch-o-matic.

Shane