forked from extern/shorewall_code
More -c documentation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4840 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
04cb08b545
commit
bbdfa4859e
@ -346,6 +346,11 @@ firewall: $(filter-out $(ignorefiles) , $(wildcard *) )
|
||||
|
||||
<para>That way, after I've changed the configuration, I can simply
|
||||
type <command>make</command>.</para>
|
||||
|
||||
<note>
|
||||
<para>I omit trace* and trace.* because I often trace compiler
|
||||
execution in while I'm debugging new versions of Shorewall.</para>
|
||||
</note>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
|
||||
@ -457,7 +462,8 @@ firewall: $(filter-out $(ignorefiles) , $(wildcard *) )
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>On the firewall system:</para>
|
||||
<para>If you are running Shorewall 3.2.5 or earlier, then on the
|
||||
firewall system:</para>
|
||||
|
||||
<programlisting><command>/usr/share/shorewall-lite/shorecap > capabilities</command>
|
||||
<command>scp capabilities <admin system>:<this system's config dir></command></programlisting>
|
||||
@ -494,15 +500,31 @@ firewall: $(filter-out $(ignorefiles) , $(wildcard *) )
|
||||
class="directory">/etc/shorewall</filename>.</para>
|
||||
|
||||
<para>After having made the above changes to the firewall's export
|
||||
directory, execute the following commands:</para>
|
||||
directory, execute the following commands.</para>
|
||||
|
||||
<programlisting><command>cd <export directory></command>
|
||||
<para>For Shorewall version 3.2.5 and earlier:</para>
|
||||
|
||||
<blockquote>
|
||||
<programlisting><command>cd <export directory></command>
|
||||
<command>/sbin/shorewall load <firewall system></command>
|
||||
</programlisting>
|
||||
|
||||
<para>Example (firewall's DNS name is 'gateway'):</para>
|
||||
<para>Example (firewall's DNS name is 'gateway'):</para>
|
||||
|
||||
<para><command>/sbin/shorewall load gateway</command></para>
|
||||
<para><command>/sbin/shorewall load gateway</command></para>
|
||||
</blockquote>
|
||||
|
||||
<para>For Shorewall versions 3.2.6 and later:</para>
|
||||
|
||||
<blockquote>
|
||||
<programlisting><command>cd <export directory></command>
|
||||
<command>/sbin/shorewall load -c <firewall system></command>
|
||||
</programlisting>
|
||||
|
||||
<para>Example (firewall's DNS name is 'gateway'):</para>
|
||||
|
||||
<para><command>/sbin/shorewall load -c gateway</command></para>
|
||||
</blockquote>
|
||||
|
||||
<para>The <ulink
|
||||
url="starting_and_stopping_shorewall.htm#Load"><command>load</command></ulink>
|
||||
@ -535,6 +557,9 @@ firewall: $(filter-out $(ignorefiles) , $(wildcard *) )
|
||||
|
||||
<programlisting><command>/sbin/shorewall-lite show -f capabilities > capabilities</command>
|
||||
<command>scp capabilities <admin system>:<this system's config dir></command></programlisting>
|
||||
|
||||
<para>Or, if you are running Shorewall 3.2.6 or later, simply use
|
||||
the -c </para>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
</section>
|
||||
|
Loading…
Reference in New Issue
Block a user