I am using this script on my RT-AC88U with the Merlin 382.2 Beta 2 firmware. It seems to work pretty well. Do you know if the script will work with the upcoming Merlin 384.3 builds? Thanks.Currently https traffic from google drive is hitting 0x800d & https version of dslreports is hitting 0x8013.
This grep filter works great to compare success hits upon fresh QOS restart with low traffic.
Code:tc filter show dev br0 | grep "mark" | grep -v "success 0"
Also I made a typo in script v382.2. Ninja edit incoming.
Here is 382.2 again, with typo fixed.
https://pastebin.com/pA10JSXT
I am using this script on my RT-AC88U with the Merlin 382.2 Beta 2 firmware. It seems to work pretty well. Do you know if the script will work with the upcoming Merlin 384.3 builds? Thanks.
${tc} filter add dev br0 protocol all prio 22 u32 match mark 0x80130000 0xc03f0000 flowid ${Web}
${tc} filter add dev br0 protocol all prio 22 u32 match mark 0x80140000 0xc03f0000 flowid ${Web}
I though about setting a GPO to mark utorrent traffic. Problem is, it ask me for a DSCP value from 0 to 64 and I don't know what to input. I tried to understand the meaning vs the script for download category but I don't get the correlation.
View attachment 11640
No correlation to category.
You need to create a new tc filter rule. This rule will be placed in the custom rule section. It will identify packets with your chosen dscp mark. Feel free to search this thread of TOS or DSCP mark since I 100% posted an example rule here before. I don't know it off the top of my head anymore, and don't want to research again.
It's not a common rule, so I didn't include it in the templates.
Or if you dont' want to do that. Just use create a rule for a port range (its a little easier since the templates are present in the script and need minimal changes, so you dont have to search at all).
Also what is GPO? Microsoft group policy editor?? Utorrent should have its own setting built into the app.
I'm unsure what I'm suppose to check in that though.
If using port, is that rule because in the script, it says to check in thread and in thread, unless I don't get how to search, I don't see the rule for port range:
${tc} filter add dev eth0 protocol all prio 1 u32 match ip sport 20000:22000 0xffff flowid ${Downloads}
?
THank you
ok I think I got it:
${tc} filter add dev eth0 protocol all prio 1 u32 match ip dport 27222 0xffff flowid ${Downloads} # utorrent
${tc} filter add dev eth0 protocol all prio 1 u32 match ip dport 32000 0xff00 flowid ${Downloads} # utorrent
${tc} filter add dev eth0 protocol all prio 1 u32 match ip dport 32256 0xffb0 flowid ${Downloads} # utorrent
${tc} filter add dev eth0 protocol all prio 1 u32 match ip dport 32384 0xfff0 flowid ${Downloads} # utorrent
port 27222 and port 32000:32400
also put the sport rules mathing.
Question thoguh, prio 1, what does it refer to? Because all the other rules have pro 2 or 22, so I'm unsure if 1 is the good one
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!