On 2011-09-13, Siju George <[email protected]> wrote: > Hi, > > I have a 4 mbps Internte connection. > How do I restrict all users such that no one uses more than 1mbps at a time. > Just want to limit downloads so that it does not affect others. > It would be great if i can get some tip on using ALTQ for this > > Thanks > > --Siju > >
You could setup one queue per user and 'match from x.x.x.w queue q1; match to x.x.x.1 queue q1' for each user/queue. hfsc with upperlimit is probably the most useful queue discipline, our hfsc docs are rather lacking, pfsense docs/forums or 'Building Firewalls with OpenBSD and PF' (Jacek Artymiak) are somewhat better.

