[ale] SNAT issues

Chris Fowler cfowler at outpostsentinel.com
Wed Oct 28 11:42:19 EDT 2009


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




More information about the Ale mailing list