From 972d00c30021d308ba9b266b768e7e4179e92740 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Mon, 22 Nov 2010 12:04:20 -0800 Subject: [PATCH] Add another SNAT virtual alias example --- docs/Shorewall_and_Aliased_Interfaces.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Shorewall_and_Aliased_Interfaces.xml b/docs/Shorewall_and_Aliased_Interfaces.xml index 9c25527c8..a137f75d3 100644 --- a/docs/Shorewall_and_Aliased_Interfaces.xml +++ b/docs/Shorewall_and_Aliased_Interfaces.xml @@ -194,9 +194,9 @@ DNAT net loc:192.168.1.3 tcp 80 - 20 #INTERFACE SUBNET ADDRESS eth0 192.168.1.0/24 206.124.146.178 - Similarly, you want SMTP traffic from local system 10.1.10.22 to + Similarly, you want SMTP traffic from local system 192.168.1.22 to have source IP 206.124.146.178:#INTERFACE SUBNET ADDRESS PROTO DEST PORT(S) -eth0 192.168.1.0/24 206.124.146.178 tcp 25 +eth0 192.168.1.22 206.124.146.178 tcp 25 Shorewall can create the alias (additional address) for you if you set ADD_SNAT_ALIASES=Yes in