Hi!
I'm trying to learn how to set up QoS so that I get bandwidth priority to the game League of Legends.
I've mostly followed what I can glean from this post as reference: https://community.ubnt.com/t5/EdgeRouter/ERlite-Home-QoS-Setup/td-p/901406 as well as the various docs.
Here's what I have right now in my config:
mark the packets (numerous sources report these ports as the right ones)
firewall { ... other out-of-the-box rules ... modify lolports { rule 100 { action modify description loludp destination { port 5000-5500 } modify { mark 100 } protocol udp } rule 101 { description loltcp destination { port 2099,5222,5223,8393-8400 } modify { mark 101 } protocol tcp } } }
traffic policy based on those packets
traffic-policy { shaper league-up { bandwidth 5mbit class 10 { bandwidth 80% burst 15k match loltcp { mark 101 } match loludp { mark 100 } priority 0 } default { bandwidth 20% priority 7 } } }
Unfortunately, however, it looks like I'm doing something wrong.
When I do `show queueing ethernet eth0`, I see this:
eth0 Queueing: Class Policy Sent Rate Dropped Overlimit Backlog root shaper 8051550 707 17708 0 10 fair-queue 0 0 0 0 0 default fair-queue 8051669 45272 707 0 0
I believe this means the class I've set in the traffic-policy for catching these packets isn't actually getting anything. This is while I open up, launch, and play the game for a bit.
I would really appreciate any pointers on what I'm doing wrong!
As I understand it, what I should be doing is:
1. Have a firewall that marks all League-related packets with some id
2. Have a traffic policy shaper that matches based on those marked ids
3. Make the shaper give more bandwidth to the matched packets
I'm not sure which part of this is wrong right now (maybe all wrong haha)