IPv6Support: Add missing DEST to samples and update header format

Signed-off-by: Tuomo Soini <tis@foobar.fi>
This commit is contained in:
Tuomo Soini 2016-02-15 09:45:50 +02:00
parent 457147b7f5
commit 4a44cc787e

View File

@ -187,10 +187,8 @@
<para>If you are using a 6to4 tunnel for your IPv6 connectivity, you <para>If you are using a 6to4 tunnel for your IPv6 connectivity, you
need an entry in need an entry in
<filename>/etc/shorewall/tunnels</filename>.<programlisting>#TYPE ZONE GATEWAY GATEWAY <filename>/etc/shorewall/tunnels</filename>.<programlisting>#TYPE ZONE GATEWAY GATEWAY_ZONE
# ZONE 6to4 net</programlisting></para>
6to4 net
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE</programlisting></para>
</section> </section>
</section> </section>
</section> </section>
@ -409,8 +407,10 @@
<para>Example (<filename>/etc/shorewall6/rules</filename>):</para> <para>Example (<filename>/etc/shorewall6/rules</filename>):</para>
<programlisting>#ACTION SOURCE DEST PROTO DEST <programlisting>#ACTION SOURCE DEST PROTO DPORT
# PORT(S)
?SECTION NEW
ACCEPT net $FW:[2002:ce7c:92b4::3] tcp 22</programlisting> ACCEPT net $FW:[2002:ce7c:92b4::3] tcp 22</programlisting>
<para>When the colon is preceeded by an interface name, <para>When the colon is preceeded by an interface name,
@ -419,9 +419,11 @@ ACCEPT net $FW:[2002:ce7c:92b4::3] tcp 22
<para>Example (<filename>/etc/shorewall6/rules</filename>):</para> <para>Example (<filename>/etc/shorewall6/rules</filename>):</para>
<programlisting>#ACTION SOURCE DEST PROTO DEST <programlisting>#ACTION SOURCE DEST PROTO DPORT
# PORT(S)
ACCEPT net:wlan0:[2002:ce7c:92b4::3] tcp 22</programlisting> ?SECTION NEW
ACCEPT net:wlan0:[2002:ce7c:92b4::3] $FW tcp 22</programlisting>
<para>Prior to Shorewall 4.5.4, angled brackets ("&lt;" and "&gt;") <para>Prior to Shorewall 4.5.4, angled brackets ("&lt;" and "&gt;")
were used. While these are still accepted, their use is deprecated were used. While these are still accepted, their use is deprecated
@ -429,9 +431,11 @@ ACCEPT net:wlan0:[2002:ce7c:92b4::3] tcp 22
<para>Example (<filename>/etc/shorewall6/rules</filename>):</para> <para>Example (<filename>/etc/shorewall6/rules</filename>):</para>
<programlisting>#ACTION SOURCE DEST PROTO DEST <programlisting>#ACTION SOURCE DEST PROTO DPORT
# PORT(S)
ACCEPT net:wlan0:&lt;2002:ce7c:92b4::3&gt; tcp 22</programlisting> SECTION NEW
ACCEPT net:wlan0:&lt;2002:ce7c:92b4::3&gt; $FW tcp 22</programlisting>
<para>Prior to Shorewall 4.5.9, network addresses were required to <para>Prior to Shorewall 4.5.9, network addresses were required to
be enclosed in either angle brackets or square brackets (e.g. be enclosed in either angle brackets or square brackets (e.g.