From 22c92731e85f2c07e3dbf42c44a7692ff245893d Mon Sep 17 00:00:00 2001 From: teastep Date: Thu, 29 Sep 2005 19:20:36 +0000 Subject: [PATCH] Update tc for my config git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@2753 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-docs2/myfiles.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Shorewall-docs2/myfiles.xml b/Shorewall-docs2/myfiles.xml index eb254c447..5f3b835d8 100644 --- a/Shorewall-docs2/myfiles.xml +++ b/Shorewall-docs2/myfiles.xml @@ -677,10 +677,10 @@ $EXT_IF 1.5mbit 384kbit url="http://www1.shorewall.net/pub/shorewall/Samples/tc4shorewall">example from tc4shorewall. - #INTERFACE MARK RATE CEIL PRIORITY OPTIONS -$EXT_IF 10 100kbit full 1 tcp-ack,tos-minimize-delay -$EXT_IF 20 100kbit 200kbit 2 -$EXT_IF 30 full/3 full/2 3 default + #INTERFACE MARK RATE CEIL PRIORITY OPTIONS +$EXT_IF 10 full full 1 tcp-ack,tos-minimize-delay +$EXT_IF 20 9*full/10 9*full/10 2 default +$EXT_IF 30 8*full/10 8*full/10 2 #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE @@ -689,12 +689,12 @@ $EXT_IF 30 full/3 full/2 3 default /etc/shorewall/tcrules
- I give full bandwidth to my L2TP/IPSEC VPN -- only seems fair - since HP pays for the DSL service. + I give full bandwidth to my local systems -- the server gets + throttled. #MARK SOURCE DEST PROTO PORT(S) CLIENT USER TEST # PORT(S) -10:F 192.168.1.6 $EXT_IF udp 4500 +10:F 192.168.0.0/22 $EXT_IF #LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE