Hi, ok, I dropped the idea of using Wondershaper without having background knowledge and are now trying to set up my own script :) Can anyone please take a look at the following script and point me to any errors? Thanks! my max. upload bandwidth is 192 Kbit/s and my goal is to ensure smooth gameplay (udp) while allowing other protocols to use up the remaining bandwidth. Mail is supposed to be treated with the least priority. Cheers, Tom. #----------------------------------------------------- # clean existing down- and uplink qdiscs, hide errors tc qdisc del dev ppp0 root 2> /dev/null > /dev/null tc qdisc del dev ppp0 ingress 2> /dev/null > /dev/null #root htb with non-classified data to 1:11 tc qdisc add dev ppp0 root handle 1: htb default 11 #max uplink class tc class add dev ppp0 parent 1: classid 1:1 htb rate 180kbit ceil 180kbit burst 2k #interactice class tc class add dev ppp0 parent 1:1 classid 1:10 htb rate 130kbit ceil 180kbit burst 2k prio 0 #default class tc class add dev ppp0 parent 1:1 classid 1:11 htb rate 40kbit ceil 180kbit burst 2k prio 1 #slow class tc class add dev ppp0 parent 1:1 classid 1:12 htb rate 10kbit ceil 70kbit burst 2k prio 2 #put udp into interactive class tc filter add dev ppp0 parent 1:0 protocol ip prio 0 u32 \ match ip protocol 17 0xff \ flowid 1:10 #put mail into slow class tc filter add dev ppp0 parent 1:0 protocol ip prio 2 u32 \ match ip sport 25 0xffff \ flowid 1:12 tc filter add dev ppp0 parent 1:0 protocol ip prio 2 u32 \ match ip dport 25 0xffff \ flowid 1:12 tc filter add dev ppp0 parent 1:0 protocol ip prio 2 u32 \ match ip sport 110 0xffff \ flowid 1:12 tc filter add dev ppp0 parent 1:0 protocol ip prio 2 u32 \ match ip dport 110 0xffff \ flowid 1:12 #-----------------------------------------------------