On Tue, 14 Apr 2009 14:23:48 +0200
"Helmut Schneider" <[email protected]> wrote:
> Hi,
>
> My proxy has one single GB interface and is connected to the internet
> using a E3-line (34Mb). I want to shape http traffic to 5Mb/s. How?
>
> Something like:
>
> altq on $extIF cbq bandwidth 100% queue { default, http_traf }
> queue default bandwidth 100% cbq(default borrow)
> queue http_traf bandwidth 5Mb cbq(borrow)
>
> What is the correct syntax?
>
> Thanks, Helmut
>
This is explained (with an example you can adapt) in the PF FAQ.
http://www.openbsd.org/faq/pf/queueing.html
- Robert