Re: CBQ download limits failed...

Laurent Cheylus <[email protected]>
Newsgroups gmane.os.openbsd.pf
Message-ID <20091111231402.GA23846@atom>
HI,

On Wed, Nov 11, 2009 at 05:26:06PM +0100, Jordi Espasa Clofent wrote:
> # 5. Queueing
> # ISP1 queues, 10MBps
(...)
> # web i prog_sistemes !my_networks
> pass in quick on $int_if route-to \
>     ($ext_if2 $ext_gw2) \
>     proto { udp, tcp } from { $web $prog_sistemes } to any keep state \
>     queue nomy2
(...)
> #  general "pass out" rules for external interfaces
> pass out on $ext_if1 proto tcp from any to any flags S/SA modulate state
> pass out on $ext_if1 proto { udp, icmp } from any to any keep state
> pass out on $ext_if2 proto tcp from any to any flags S/SA modulate state
> pass out on $ext_if2 proto { udp, icmp } from any to any keep state

You defined altq rule and queue for nomy2 on $ext_if2 but the pass rule
is on $int_if.

Add a 'pass out' rule on $ext_if2 to assign packets in 'nomy2' queue and
modify your 'pass in on $int_if' rule.

Laurent
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.