[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with outgoing traffic shaping



Hi there,
I'm trying to do some traffic shaping on the outgoing interface. However
it does only work for the incoming side...
#Queues
#################################################################
altq on $dsl_device priq bandwidth 120Kb queue { std_ext, high_prio_ext,
low_prio_ext  }
queue std_ext priority 1 priq ( default ecn )
queue high_prio_ext priority 7 priq ( ecn )
queue low_prio_ext priority 0 priq ( ecn )
pass out quick on $dsl_device inet proto icmp from ($dsl_device) to any
keep state queue high_prio_ext
pass out quick on $dsl_device proto udp from ($dsl_device) to any port
53 keep state queue high_prio_ext
pass out quick on $dsl_device proto udp from ($dsl_device) to any port
27000:28000 keep state queue high_prio_ext
pass out quick on $dsl_device from ($dsl_device) to any keep state queue
low_prio_ext
pass in  quick on $dsl_device inet proto icmp all icmp-type 8 keep state
So the only things I want prioritise is ICMP, DNS and UDP Connections to
a specific port range. However this doesn't work for the connections to
the port range. It gets very lagy. There is no difference to working
without that rule.
Any hints?
Jochen