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).

Reply via email to