mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 10:18:58 +02:00
Describe using a shell alias to invoke shorewall6-lite from 'shorewall6'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
a7505f3ecb
commit
c6dea1525f
@ -981,7 +981,22 @@
|
|||||||
<td><command>shorewall -6</command> or <command>shorewall
|
<td><command>shorewall -6</command> or <command>shorewall
|
||||||
-6l</command></td>
|
-6l</command></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><command>shorewall</command></td>
|
||||||
|
|
||||||
|
<td><command>shorewall -l</command></td>
|
||||||
|
</tr>
|
||||||
</table>
|
</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>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -547,6 +547,18 @@
|
|||||||
<command>remote-reload</command> command (e.g., <command>shorewall
|
<command>remote-reload</command> command (e.g., <command>shorewall
|
||||||
remote-reload -c gateway</command>).</para>
|
remote-reload -c gateway</command>).</para>
|
||||||
</listitem>
|
</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 <cmd>" is the same as running
|
||||||
|
"shorewall-lite <cmd>" 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>
|
</orderedlist>
|
||||||
</section>
|
</section>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user