mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-03 12:09:14 +01:00
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
|
||||
<filename>/usr/share/shorewall-lite/shorecap</filename> on the
|
||||
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>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
@ -592,8 +593,9 @@
|
||||
command:</para>
|
||||
|
||||
<blockquote>
|
||||
<para><command>shorewall compile [ -e ] [ <directory name> ] [
|
||||
<path name> ]</command></para>
|
||||
<para><command>shorewall compile [ -e ] [ <replaceable><directory
|
||||
name></replaceable> ] [ <replaceable><path name></replaceable>
|
||||
]</command></para>
|
||||
</blockquote>
|
||||
|
||||
<para>where</para>
|
||||
@ -615,6 +617,11 @@
|
||||
supports. It rather reads those capabilities from
|
||||
<filename>/etc/shorewall/capabilities</filename>. See below for
|
||||
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>
|
||||
</varlistentry>
|
||||
|
||||
@ -626,12 +633,19 @@
|
||||
before those directories listed in the CONFIG_PATH variable in
|
||||
<filename>shorewall.conf</filename>.</para>
|
||||
|
||||
<para>When -e <directory-name> is included, only the
|
||||
SHOREWALL_SHELL and VERBOSITY settings from
|
||||
<para>When -e <replaceable><directory-name></replaceable> is
|
||||
included, only the SHOREWALL_SHELL and VERBOSITY settings from
|
||||
<filename>/etc/shorewall/shorewall.conf</filename> are used and
|
||||
these apply only to the compiler itself. The settings used by the
|
||||
compiled firewall script are determined by the contents of
|
||||
<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>
|
||||
</varlistentry>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user