mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 08:44:05 +01:00
Add saved configuration information to the config file basics doc -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@3137 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
3f62c5446f
commit
2e294aea7a
@ -736,30 +736,31 @@ INT_IF=$(getcfg-interface bus-pci-0000:00:03.0)</programlisting>
|
||||
<title>Saved Configurations</title>
|
||||
|
||||
<para>Shorewall allows you to <firstterm>save</firstterm> the
|
||||
currently-running configuration in a form that allows it to be restored
|
||||
quickly. When you save the configuration using the <command>shorewall
|
||||
save</command> command, the running configuration is saved in a file in
|
||||
the <filename class="directory">/var/lib/shorewall</filename> directory.
|
||||
The default name of that file is
|
||||
<filename>/var/lib/shorewall/restore</filename> but you can specify a
|
||||
different name as part of the command. For example, the command
|
||||
<command>shorewall save standard</command> will save the running
|
||||
currently-running configuration in a form that permits it to be
|
||||
re-installed quickly. When you save the configuration using the
|
||||
<command>shorewall save</command> command, the running configuration is
|
||||
saved in a file in the <filename
|
||||
class="directory">/var/lib/shorewall</filename> directory. The default
|
||||
name of that file is <filename>/var/lib/shorewall/restore</filename> but
|
||||
you can specify a different name as part of the command. For example, the
|
||||
command <command>shorewall save standard</command> will save the running
|
||||
configuration in <filename>/var/lib/shorewall/standard</filename>. A saved
|
||||
configuration is re-installed using the <command>shorewall
|
||||
restore</command> command. Again, that command normally will restore the
|
||||
configuration saved in <filename>/var/lib/shorewall/restore</filename> but
|
||||
as with the <command>save</command> command, you can specify a different
|
||||
file name in the command. For example, shorewall restore standard will
|
||||
re-install the configuration saved in
|
||||
file name in the command. For example, <command>shorewall restore
|
||||
standard</command> will re-install the configuration saved in
|
||||
<filename>/var/lib/shorewall/standard</filename>. By permitting you to
|
||||
save different configurations under different names, Shorewall provides a
|
||||
means for quickly switching between these different saved
|
||||
configurations.</para>
|
||||
|
||||
<para>As mentioned above, the default configuration is called 'restore'
|
||||
but like most things in Shorewall, that can be changed. The default name
|
||||
is specified using the <emphasis role="bold">RESTOREFILE</emphasis> option
|
||||
in <filename>/etc/shorewall/shorewall.conf</filename>.</para>
|
||||
but like most things in Shorewall, that default can be changed. The
|
||||
default name is specified using the <emphasis
|
||||
role="bold">RESTOREFILE</emphasis> option in
|
||||
<filename>/etc/shorewall/shorewall.conf</filename>.</para>
|
||||
|
||||
<para>For more information about saved configurations, see the <ulink
|
||||
url="starting_and_stopping_shorewall.htm">Shorewall Operations
|
||||
|
Loading…
Reference in New Issue
Block a user