[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] SNAT issues
- Subject: [ale] SNAT issues
- From: cfowler at outpostsentinel.com (Chris Fowler)
- Date: Wed, 28 Oct 2009 11:42:19 -0400
- In-reply-to: <[email protected]>
- References: <1256738505.12851.113.camel@compaq> <[email protected]> <1256741638.12851.124.camel@compaq> <[email protected]>
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