From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darryl Miles Date: Thu, 04 Dec 2003 23:29:34 +0000 Subject: Re: [LARTC] $100 USD to the first person that can provide the rules/scripts Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Darryl Miles wrote: > # Match the IP address of the VPN tunnel endpoint, however if you are > on DSL > # with dynamic IP then you might as well scrap this value, otherwise > change > # "0.0.0.0/0" to just "10.0.0.something/32" or remove Opps... to just "24.239.167.x/32", the point is if you are on dynamic IP its probably more trouble than its worth to also check this, it can be omited ("match ip src 0.0.0.0/0") and the config will still work. This is the same as Steff's config (just 4 lines mangled by cut'n'paste): > tc qdisc add dev eth1 root handle 1: htb default 20 tc class add dev > eth1 parent 1: classid 1:1 htb rate 600kbit ceil 640kbit burst 2k tc > class add dev eth1 parent 1:1 classid 1:10 htb rate 240kbit tc class > add dev eth1 parent 1:2 classid 1:20 htb rate 400kbit > tc qdisc add dev eth1 root handle 1: htb default 20 > tc class add dev eth1 parent 1: classid 1:1 htb rate 600kbit ceil > 640kbit burst 2k > tc class add dev eth1 parent 1:1 classid 1:10 htb rate 240kbit > tc class add dev eth1 parent 1:2 classid 1:20 htb rate 400kbit -- Darryl L. Miles M: 07968 320 114 _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/