From b8a45e96fbdbd764582aa10209bd368f261219b5 Mon Sep 17 00:00:00 2001 From: teastep Date: Sat, 15 Oct 2005 15:15:45 +0000 Subject: [PATCH] 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 --- Shorewall-docs2/traffic_shaping.xml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/Shorewall-docs2/traffic_shaping.xml b/Shorewall-docs2/traffic_shaping.xml index fa85244c8..d32526e01 100644 --- a/Shorewall-docs2/traffic_shaping.xml +++ b/Shorewall-docs2/traffic_shaping.xml @@ -21,7 +21,7 @@ - 2005-10-13 + 2005-10-15 2001-2004 @@ -32,7 +32,7 @@ 2005 - Arne Bernin + Arne Bernin & Thomas M. Eastep @@ -497,6 +497,27 @@ ppp0 6000kbit 500kbit +
+ ppp devices + + 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 tc + filters/qdiscs related to that interface are deleted. + + 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/etc/ppp/ip-up.d. + + #! /bin/sh + +/sbin/shorewall restart + + + +
+
Real life examples @@ -690,4 +711,4 @@ ppp0 4 90kbit 200kbit 3 default
- \ No newline at end of file +