Add note about PPP to Traffic Shaping Document

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2886 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2005-10-15 15:15:45 +00:00
parent d30370d31c
commit b8a45e96fb

View File

@ -21,7 +21,7 @@
</author>
</authorgroup>
<pubdate>2005-10-13</pubdate>
<pubdate>2005-10-15</pubdate>
<copyright>
<year>2001-2004</year>
@ -32,7 +32,7 @@
<copyright>
<year>2005</year>
<holder>Arne Bernin</holder>
<holder>Arne Bernin &amp; Thomas M. Eastep</holder>
</copyright>
<legalnotice>
@ -497,6 +497,27 @@ ppp0 6000kbit 500kbit</programlisting>
</itemizedlist>
</section>
<section>
<title>ppp devices</title>
<para>If you use ppp/pppoe/pppoa) to connect to your internet provider
and you use traffic shaping you need to restart shorewall traffic
shaping. The reason for this is, that if the ppp connection gets
restartet (and it usally does this at least daily), all <quote>tc</quote>
filters/qdiscs related to that interface are deleted.</para>
<para>The easiest way to achieve this, is just to restart shorewall
once the link is up. To achieve this add a small executable
script to<quote>/etc/ppp/ip-up.d</quote>.</para>
<programlisting>#! /bin/sh
/sbin/shorewall restart</programlisting>
</section>
<section>
<title>Real life examples</title>
@ -690,4 +711,4 @@ ppp0 4 90kbit 200kbit 3 default</pro
</orderedlist>
</section>
</section>
</article>
</article>