[ale] SNAT issues
Chris Fowler
cfowler at outpostsentinel.com
Wed Oct 28 10:53:58 EDT 2009
Possibly then this documentation is old/wrong?
http://linux-ip.net/html/nat-dnat.html
On Wed, 2009-10-28 at 10:45 -0400, Michael H. Warfield wrote:
> On Wed, 2009-10-28 at 10:01 -0400, Chris Fowler wrote:
> > Am I doing something wrong?
>
> > [root at demo-ens]# /sbin/iptables -t nat -A POSTROUTING -d 192.168.2.254
> > -j SNAT --to-destination 10.0.2.254
> > iptables v1.2.5: Unknown arg `--to-destination'
> > Try `iptables -h' or 'iptables --help' for more information.
>
> --to-destination is not valid for SNAT, only for DNAT.
>
> --to-source is what you would use with SNAT.
>
> > This is in kernel 2.4.24.
>
> > Chris
>
> Regards,
> Mike
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
More information about the Ale
mailing list