[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] SNAT issues



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.


I think you want "--to-source" for SNAT, not "--to-destination".

-- JK