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

[ale] SNAT issues



On Wed, 2009-10-28 at 11:08 -0400, Jim Kinney wrote:
> docs are correct. They are for DNAT not SNAT.

The last example on that page shows a SNAT rule.  Is that syntax wrong?

Example 5.7:  Simulating full NAT with SNAT and DNAT
[root at real-server]# iptables -t nat -A PREROUTING -d 205.254.211.17 -j
DNAT --to-destination 192.168.100.17
[root at real-server]# iptables -t nat -A POSTROUTING -s 192.168.100.17 -j SNAT --to-destination 205.254.211.17