forked from extern/shorewall_code
Update the Universal guide for 5.0
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3562a5b1bd
commit
1dff1444dd
@ -202,7 +202,7 @@
|
|||||||
<filename>/etc/shorewall/macro.*</filename>, the general format of a
|
<filename>/etc/shorewall/macro.*</filename>, the general format of a
|
||||||
rule in <filename>/etc/shorewall/rules</filename> is:</para>
|
rule in <filename>/etc/shorewall/rules</filename> is:</para>
|
||||||
|
|
||||||
<programlisting>#ACTION SOURCE DESTINATION PROTO DEST PORT(S)
|
<programlisting>#ACTION SOURCE DESTINATION PROTO DPORT
|
||||||
<<emphasis>macro</emphasis>>(ACCEPT) net $FW</programlisting>
|
<<emphasis>macro</emphasis>>(ACCEPT) net $FW</programlisting>
|
||||||
|
|
||||||
<important>
|
<important>
|
||||||
@ -214,7 +214,7 @@
|
|||||||
<title>You want to run a Web Server and a IMAP Server on your firewall
|
<title>You want to run a Web Server and a IMAP Server on your firewall
|
||||||
system:</title>
|
system:</title>
|
||||||
|
|
||||||
<programlisting>#ACTION SOURCE DESTINATION PROTO DEST PORT(S)
|
<programlisting>#ACTION SOURCE DESTINATION PROTO DPORT
|
||||||
Web(ACCEPT) net $FW
|
Web(ACCEPT) net $FW
|
||||||
IMAP(ACCEPT)net $FW</programlisting>
|
IMAP(ACCEPT)net $FW</programlisting>
|
||||||
</example>
|
</example>
|
||||||
@ -225,14 +225,14 @@ IMAP(ACCEPT)net $FW</programlisting>
|
|||||||
general format of a rule in <filename>/etc/shorewall/rules</filename>
|
general format of a rule in <filename>/etc/shorewall/rules</filename>
|
||||||
is:</para>
|
is:</para>
|
||||||
|
|
||||||
<programlisting>#ACTION SOURCE DESTINATION PROTO DEST PORT(S)
|
<programlisting>#ACTION SOURCE DESTINATION PROTO DPORT
|
||||||
ACCEPT net $FW <emphasis><protocol></emphasis> <emphasis><port></emphasis></programlisting>
|
ACCEPT net $FW <emphasis><protocol></emphasis> <emphasis><port></emphasis></programlisting>
|
||||||
|
|
||||||
<example id="Example2">
|
<example id="Example2">
|
||||||
<title>You want to run a Web Server and a IMAP Server on your firewall
|
<title>You want to run a Web Server and a IMAP Server on your firewall
|
||||||
system:</title>
|
system:</title>
|
||||||
|
|
||||||
<para><programlisting>#ACTION SOURCE DESTINATION PROTO DEST PORT(S)
|
<para><programlisting>#ACTION SOURCE DESTINATION PROTO DPORT
|
||||||
ACCEPT net $FW tcp 80
|
ACCEPT net $FW tcp 80
|
||||||
ACCEPT net $FW tcp 143</programlisting></para>
|
ACCEPT net $FW tcp 143</programlisting></para>
|
||||||
</example>
|
</example>
|
||||||
@ -320,7 +320,7 @@ ACCEPT net $FW tcp 143</programlisting></para>
|
|||||||
<para>Then at a root prompt, type:</para>
|
<para>Then at a root prompt, type:</para>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<para><command>/sbin/shorewall restart</command></para>
|
<para><command>/sbin/shorewall reload</command></para>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
@ -345,7 +345,7 @@ ACCEPT net $FW tcp 143</programlisting></para>
|
|||||||
<para>Then at a root prompt, type:</para>
|
<para>Then at a root prompt, type:</para>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<para><command>/sbin/shorewall restart</command></para>
|
<para><command>/sbin/shorewall reload</command></para>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user