forked from extern/shorewall_code
Add FAQ 101 (speed up start/restart)
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
90bd19feb9
commit
ed40415458
31
docs/FAQ.xml
31
docs/FAQ.xml
@ -2204,6 +2204,35 @@ gateway:~# </programlisting>
|
||||
tool when you installed Shorewall. Look for a service called 'iptables'
|
||||
that is being started after Shorewall and disable it.</para>
|
||||
</section>
|
||||
|
||||
<section id="faq101">
|
||||
<title>(FAQ 101) How can I speed up 'shorewall start' and 'shorewall
|
||||
restart' on my slow hardware?</title>
|
||||
|
||||
<para><emphasis role="bold">Answer</emphasis>: There are several steps
|
||||
that you can take:</para>
|
||||
|
||||
<orderedlist>
|
||||
<listitem>
|
||||
<para>If your kernel supports module autoloading (and distribution
|
||||
default kernels almost always do), then set LOAD_HELPERS_ONLY=Yes in
|
||||
shorewall.conf.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Set AUTOMAKE=Yes in shorewall.conf. This will avoid the
|
||||
compilation phase in cases where the configuration has not changed
|
||||
since the last time that the configuration was compiled.</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>Don't set optimization option 8. For example, if you currently
|
||||
set OPTIMIZE=31, then change that to OPTIMIZE=23. Optimization
|
||||
option 8 combines identical chains which can result in a smaller
|
||||
ruleset, but it slows down the compilation of large rulesets.</para>
|
||||
</listitem>
|
||||
</orderedlist>
|
||||
</section>
|
||||
</section>
|
||||
|
||||
<section id="MultiISP">
|
||||
@ -2922,7 +2951,7 @@ Shorewall has detected the following iptables/netfilter capabilities:
|
||||
Persistent SNAT: Available
|
||||
gateway:~# </programlisting>
|
||||
|
||||
<para/>
|
||||
<para></para>
|
||||
</section>
|
||||
|
||||
<section id="faq19">
|
||||
|
Loading…
Reference in New Issue
Block a user