----- Original Message ----- From: "Stuart Henderson" <[EMAIL PROTECTED]> Sent: Friday, December 15, 2006 12:05 AM Subject: Re: limiting outbound throughput from an IP using altq
> On 2006/12/14 16:33, rootrider wrote: > > Traffic is being assigned to the nick_int queue, and inbound > > (from the internet to the lan) traffic is being limited... to my > > surprise. That doesn't even make any sense to me. > > Use the same name for queues on each interface, e.g. > > altq on $ext_if cbq bandwidth 950Kb queue { nick, other } > queue nick on $ext_if bandwidth 1% priority 1 cbq > queue other on $ext_if bandwidth 99% priority 7 cbq(default, borrow) > > altq on $int_if cbq bandwidth 8Mb queue { nick, other } > queue nick on $int_if bandwidth 1% priority 1 cbq > queue other on $int_if bandwidth 99% priority 7 cbq(default) > > 'pass...keep state queue foo_in' rules mean that packets matching the > state (i.e. in _both_ directions) are assigned to queue foo_in, which is > not what you want. Using 'queue..on $if1' and 'queue...on $if2' creates > two queues with the same name so that a single 'pass' rule assigns > packets to the queue for whichever interface is relevant. > > (thanks to Henning on the pf mailing list for the tip about this). well, I tried this.. even plugged the exact text in here and used that as my sole altq configuration. I got the exact same result I had before: unlimited upload speed and download speed limited to 80 kbps. I've got to be missing something somewhere... Isn't there anyone with a working pf.conf that limits upload speed of an IP? -- Joel [rootrider]