On Fri, Oct 15, 2010 at 4:56 PM, Henning Brauer <lists-open...@bsws.de> wrote: > * Leonardo Carneiro <chesterma...@gmail.com> [2010-10-15 19:49]: >> I'm reading the documentation about altq, cbq and priq. I'ts very well >> written. >> >> The questions: The documantion says that i can only queue outgoing >> traffic. So to priorize download traffic, i must apply the the queues >> on the traffic that are going out from my router to my internal >> interfaces? > > yup. > >> I have multiple internal interfaces. Will i be able to priorize only >> the traffic going out by the internal interfaces that came in by the >> external interface? (i don't want to priorize traffic between internal >> interfaces) > > you just do the queue assignment on the inbound rules on the external > interface and create queues with the same name on the inbound if. > > aka > altq on $intif1 ... > altq on $intif2 ... > queue foo ... > pass in on $ext_if queue foo > > this way queue foo will exist on all interfaces. the assignment can be > done inbound if the packet is forwarded and doesn't go through a > userland proxy. > > -- > Henning Brauer, h...@bsws.de, henn...@openbsd.org > BS Web Services, http://bsws.de > Full-Service ISP - Secure Hosting, Mail and DNS Services > Dedicated Servers, Rootservers, Application Hosting > >
Well, now i'm a bit confused. I'll apply the queues on the internal interfaces, but will assign the traffic when it came in by the external? I though i would have to make one rule to each internal interface when the traffic was going out by the internal.