Re: mol + 2.4.0 + IP Masq


Subject: Re: mol + 2.4.0 + IP Masq
From: Philippe Lelédy (phl@leledy.org)
Date: Fri Dec 29 2000 - 03:53:05 MST


On Thu, 28 Dec 2000, Ramprasad Rao wrote:

>
> Does anyone know how to IP masquerade in 2.4.0. I gather that we have to
> use 'iptables' instead of 'ipchains' but have no idea how to actually write
> the rules.
>
> Thanks in advance for your help,
> Ram
>

It's as simple as

iptables -t nat -A POSTROUTING -j MASQUERADE

That's what I use. But you can be more selective with -s and -d as with
ipchains.

Salutations.
-----------



This archive was generated by hypermail 2a24 : Fri Dec 29 2000 - 03:52:47 MST