forked from extern/shorewall_code
Update the Shorewall-Lite article
- Mention shorewallrc - Mention that /etc/shorewall/shorewall.conf is no longer read when the configuration directory has a shorewall.conf file. Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
9c6d4f90fb
commit
f5e1a42ac9
@ -248,7 +248,8 @@
|
|||||||
command, Shorewall will use ssh to run
|
command, Shorewall will use ssh to run
|
||||||
<filename>/usr/share/shorewall-lite/shorecap</filename> on the
|
<filename>/usr/share/shorewall-lite/shorecap</filename> on the
|
||||||
remote firewall to create a capabilities file in the firewall's
|
remote firewall to create a capabilities file in the firewall's
|
||||||
administrative direction. See <link
|
administrative direction. It also uses scp to copy the
|
||||||
|
shorewallrc file from the remote firewall system. See <link
|
||||||
linkend="Shorecap">below</link>.</para>
|
linkend="Shorecap">below</link>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</orderedlist>
|
</orderedlist>
|
||||||
@ -592,8 +593,9 @@
|
|||||||
command:</para>
|
command:</para>
|
||||||
|
|
||||||
<blockquote>
|
<blockquote>
|
||||||
<para><command>shorewall compile [ -e ] [ <directory name> ] [
|
<para><command>shorewall compile [ -e ] [ <replaceable><directory
|
||||||
<path name> ]</command></para>
|
name></replaceable> ] [ <replaceable><path name></replaceable>
|
||||||
|
]</command></para>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<para>where</para>
|
<para>where</para>
|
||||||
@ -615,6 +617,11 @@
|
|||||||
supports. It rather reads those capabilities from
|
supports. It rather reads those capabilities from
|
||||||
<filename>/etc/shorewall/capabilities</filename>. See below for
|
<filename>/etc/shorewall/capabilities</filename>. See below for
|
||||||
details.</para>
|
details.</para>
|
||||||
|
|
||||||
|
<para>Also, when <option>-e</option> is specified you should have
|
||||||
|
a copy of the remote firewall's <filename>shorewallrc</filename>
|
||||||
|
file in the the directory specified by <replaceable><directory
|
||||||
|
name></replaceable>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -626,12 +633,19 @@
|
|||||||
before those directories listed in the CONFIG_PATH variable in
|
before those directories listed in the CONFIG_PATH variable in
|
||||||
<filename>shorewall.conf</filename>.</para>
|
<filename>shorewall.conf</filename>.</para>
|
||||||
|
|
||||||
<para>When -e <directory-name> is included, only the
|
<para>When -e <replaceable><directory-name></replaceable> is
|
||||||
SHOREWALL_SHELL and VERBOSITY settings from
|
included, only the SHOREWALL_SHELL and VERBOSITY settings from
|
||||||
<filename>/etc/shorewall/shorewall.conf</filename> are used and
|
<filename>/etc/shorewall/shorewall.conf</filename> are used and
|
||||||
these apply only to the compiler itself. The settings used by the
|
these apply only to the compiler itself. The settings used by the
|
||||||
compiled firewall script are determined by the contents of
|
compiled firewall script are determined by the contents of
|
||||||
<filename><directory name>/shorewall.conf</filename>.</para>
|
<filename><directory name>/shorewall.conf</filename>.</para>
|
||||||
|
|
||||||
|
<note>
|
||||||
|
<para>Beginning with Shorewall 4.5.7.2,
|
||||||
|
<filename>/etc/shorewall/shorewall.conf</filename> is not read
|
||||||
|
if there is a <filename>shorewall.conf</filename> file in the
|
||||||
|
specified configuration directory.</para>
|
||||||
|
</note>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user