Add another SNAT virtual alias example

This commit is contained in:
Tom Eastep 2010-11-22 12:04:20 -08:00
parent 93f9e8914c
commit 972d00c300

View File

@ -194,9 +194,9 @@ DNAT net loc:192.168.1.3 tcp 80 - 20
<programlisting>#INTERFACE SUBNET ADDRESS
eth0 192.168.1.0/24 206.124.146.178</programlisting>
<para>Similarly, you want SMTP traffic from local system 10.1.10.22 to
<para>Similarly, you want SMTP traffic from local system 192.168.1.22 to
have source IP 206.124.146.178:<programlisting>#INTERFACE SUBNET ADDRESS PROTO DEST PORT(S)
eth0 192.168.1.0/24 206.124.146.178 tcp 25</programlisting></para>
eth0 192.168.1.22 206.124.146.178 tcp 25</programlisting></para>
<para>Shorewall can create the alias (additional address) for you if you
set ADD_SNAT_ALIASES=Yes in