I have been asked to implement a UDP throttle on a per user basis. Users will come in either via trial or usermanager auth but should be limited to a max UDP bandwidth (prohibit video streaming out). It is obvious how to do it for the interface just wondering if anyone has implemented it on a per user basis.
Only other throttle in place will be PCQ equal share across the subnet.
But I only want to throttle UDP per user and leave the rest unlimited. Overall UDP throttling is not a problem, its the per user piece I’m stuck with.
How can I limit each user to max xMb/s UDP?
Ah OK, obviously my PCQ knowledge needed refreshing…
So correct me if I’m wrong…
Mangle to mark all UDP connection / packets
create PCQ queue for down and up, limit to x Kb/s
add queue tree and attach to relevant interfaces
job done.
If I already have a PCQ queue in place that does not rate limit but purely deals with equal share this will not conflict? Should the rate limiting PCQ be a higher priority than the equal share PCQ?