Describe using a shell alias to invoke shorewall6-lite from 'shorewall6'

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2020-09-15 17:22:07 -07:00
parent a7505f3ecb
commit c6dea1525f
No known key found for this signature in database
GPG Key ID: 96E6B3F2423A4D10
2 changed files with 27 additions and 0 deletions

View File

@ -981,7 +981,22 @@
<td><command>shorewall -6</command> or <command>shorewall
-6l</command></td>
</tr>
<tr>
<td><command>shorewall</command></td>
<td><command>shorewall -l</command></td>
</tr>
</table>
<para>Note that when Shorewall isn't installed, the 'shorewall'
command behaves like shorewall-lite. The same is not true with
respect to Shorewall6, "shorewall6" and 'shorewall6-lite". You can
make 'shorewall6' behave like 'shorewallt-lite' by adding the
following command to root's .profile file (or to .bashrc, if root's
shell is bash):</para>
<programlisting> alias shorewall6=shorewall6-lite</programlisting>
</listitem>
</varlistentry>

View File

@ -547,6 +547,18 @@
<command>remote-reload</command> command (e.g., <command>shorewall
remote-reload -c gateway</command>).</para>
</listitem>
<listitem>
<para>Shorewall6-lite works with Shorewall6 in the same way that
Shorewall-lite works with Shorewall. Beginning with Shorewall
5.0.0, running 'shorewall &lt;cmd&gt;" is the same as running
"shorewall-lite &lt;cmd&gt;" when Shorewall is not installed.. To
continue to use the "shorewall6" command after switching to
Shoerwall6-lite, you need to add this to your .profile (or to
.bashrc if root's shell is bash):</para>
<programlisting> alias shorewall6=shorewall6-lite</programlisting>
</listitem>
</orderedlist>
</section>
</section>