[zorp] NAT issue
Balazs Scheidler
bazsi at balabit.hu
Tue Oct 11 10:32:35 CEST 2005
On Tue, 2005-10-11 at 14:26 +0800, Zhou Li wrote:
> I am looking for a integrated nat rule example including source ip address,
> destination ip address and nat ip address, just like iptables nat rule.
> iptables -t nat -A POSTROURINT -s 192.168.88.1 -d 192.168.99.1 -j
> SNAT --to-source 192.168.100.1
> any example will be appreciate.
the GeneralNAT class is symmetric and transforms a single side only, and
as it stands it cannot perform a transformation based on the IP address
of the other side.
It could be implemented however with a specialized NAT class. See the
examples in NAT.py
--
Bazsi
More information about the zorp
mailing list