[ale] SNAT issues

Michael H. Warfield mhw at WittsEnd.com
Wed Oct 28 10:45:53 EDT 2009


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
-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
Url : http://mail.ale.org/pipermail/ale/attachments/20091028/83f067c9/attachment.bin 


More information about the Ale mailing list