What's new

FlexQoS FlexQoS 1.2.4 - Flexible QoS Enhancement Script for Adaptive QoS

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

I'm not using ipv6. Cams are in the 192.168.3.2x range and echos/streaming is in the 192.18.3.3x range. Also is there a way to rename the bands even if just for display purposes? I'm not a gamer and would rather have VOIP as the highest level. I know it doesn't matter from a performance perspective. Here is the data as requested:

Code:
FlexQoS v1.2.1 released 2021-02-12

Debug date : 2021-02-18 10:02:06-0500
Router Model : RT-AC68U
Firmware Ver : 386.1_2
DPI/Sig Ver : 2.0.1 / 2.216
WAN iface : eth0
tc WAN iface : eth0
IPv6 : disabled
Undf Prio : 2
Down Band : 15360
Up Band : 15360
***********
Net Control : 1:10
Work-From-Home: 1:13
Gaming : 1:11
Others : 1:17
Web Surfing : 1:15
Streaming : 1:12
File Downloads: 1:16
Game Downloads: 1:14
***********
Downrates : 768, 2304, 4608, 3072, 768, 1536, 768, 1536
Downceils : 15360, 15360, 15360, 15360, 15360, 15360, 15360, 15360
Uprates : 768, 2304, 1536, 3072, 768, 1536, 768, 4608
Upceils : 15360, 15360, 15360, 15360, 15360, 15360, 15360, 15360
***********
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7<192.168.3.122>>both>>>>1<192.168.3.65>>both>>>>5<192.168.3.20/30>>b
oth>>>>1<192.168.3.32/29>>both>>>>2<>>both>>53>>0<>>both>>80,443>>4<192.168.3.40/29>>both>>>>3<192.168.3.52/30>>both>>>>1
-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803fffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403fffff/0xc03fffff
-o br0 -d 192.168.3.122 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.122 -j MARK --set-mark 0x4008ffff/0xc03fffff
-o br0 -d 192.168.3.65 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -s 192.168.3.65 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -d 192.168.3.20/30 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.20/30 -j MARK --set-mark 0x4008ffff/0xc03fffff
-o br0 -d 192.168.3.32/29 -j MARK --set-mark 0x8004ffff/0xc03fffff
-o eth0 -s 192.168.3.32/29 -j MARK --set-mark 0x4004ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 53 -j MARK --set-mark 0x8009ffff/0xc03fffff
-o br0 -p udp -m multiport --sports 53 -j MARK --set-mark 0x8009ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 53 -j MARK --set-mark 0x4009ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 53 -j MARK --set-mark 0x4009ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 80,443 -j MARK --set-mark 0x8018ffff/0xc03fffff
-o br0 -p udp -m multiport --sports 80,443 -j MARK --set-mark 0x8018ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 80,443 -j MARK --set-mark 0x4018ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 80,443 -j MARK --set-mark 0x4018ffff/0xc03fffff
-o br0 -d 192.168.3.40/29 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -s 192.168.3.40/29 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -d 192.168.3.52/30 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.52/30 -j MARK --set-mark 0x4008ffff/0xc03fffff
***********
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<05****>3
filter change dev br0 prio 2 protocol all handle 828::800 u32 flowid 1:17
filter change dev eth0 prio 2 protocol all handle 828::800 u32 flowid 1:17
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:17
filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:17
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:15
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:15
filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:15
filter change dev br0 prio 8 protocol all handle 808::800 u32 flowid 1:13
filter change dev eth0 prio 8 protocol all handle 808::800 u32 flowid 1:13
class change dev br0 parent 1:1 classid 1:10 htb overhead 4 linklayer ethernet prio 0 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:10 htb overhead 4 linklayer ethernet prio 0 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:11 htb overhead 4 linklayer ethernet prio 1 rate 2304Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 28800
class change dev eth0 parent 1:1 classid 1:11 htb overhead 4 linklayer ethernet prio 1 rate 2304Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 28800
class change dev br0 parent 1:1 classid 1:12 htb overhead 4 linklayer ethernet prio 2 rate 4608Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 57600
class change dev eth0 parent 1:1 classid 1:12 htb overhead 4 linklayer ethernet prio 2 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev br0 parent 1:1 classid 1:13 htb overhead 4 linklayer ethernet prio 3 rate 3072Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 38400
class change dev eth0 parent 1:1 classid 1:13 htb overhead 4 linklayer ethernet prio 3 rate 3072Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 38400
class change dev br0 parent 1:1 classid 1:14 htb overhead 4 linklayer ethernet prio 4 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:14 htb overhead 4 linklayer ethernet prio 4 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:15 htb overhead 4 linklayer ethernet prio 5 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev eth0 parent 1:1 classid 1:15 htb overhead 4 linklayer ethernet prio 5 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev br0 parent 1:1 classid 1:16 htb overhead 4 linklayer ethernet prio 6 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:16 htb overhead 4 linklayer ethernet prio 6 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:17 htb overhead 4 linklayer ethernet prio 7 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev eth0 parent 1:1 classid 1:17 htb overhead 4 linklayer ethernet prio 7 rate 4608Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 57600
You seem to have a rule moving all port 80 and 443 traffic to Web Surfing, which would override the earlier rule for 192.168.3.32/29. The bottom-most rule will determine the final Mark, so put your most specific rules at the bottom.
 
@dave14305, I have a couple streaming rules and one gaming rule inside Flex (w/fq_codel enabled).

Also, I've placed the gaming rule all the way at the bottom. Per your comment earlier that the "bottom-most" rule will determine the final mark, does everything look ok in my setup:

Code:
admin@RT-AX88U-0D80:/tmp/home/root# flexqos debug
[SPOILER="FlexQoS Debug"][CODE]

FlexQoS v1.2.1 released 2021-02-12

Debug date    : 2021-02-18 12:38:39-0500
Router Model  : RT-AX88U
Firmware Ver  : 386.1_2
DPI/Sig Ver   : 2.0.1 / 2.216
WAN iface     : eth0
tc WAN iface  : eth0
IPv6          : disabled
Undf Prio     : 2
Down Band     : 302080
Up Band       : 8192
***********
Net Control   : 1:10
Work-From-Home: 1:11
Gaming        : 1:13
Others        : 1:12
Web Surfing   : 1:15
Streaming     : 1:14
File Downloads: 1:16
Game Downloads: 1:17
***********
Downrates     :   15104,   60416,   30208,   45312,   90624,   30208,   15104,   15104
Downceils     :  302080,  302080,  302080,  302080,  302080,  302080,  302080,  302080
Uprates       :     409,    1638,    2457,    1228,     819,     819,     409,     409
Upceils       :    8192,    8192,    8192,    8192,    8192,    8192,    8192,    8192
***********
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7<192.168.1.8/30>>tcp>>80,443>!04****>2<192.168.1.100/30>>tcp>>80,443>!04****>2<192.168.1.16/28>>both>>!80,443>000000>1
-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803fffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403fffff/0xc03fffff
-o br0 -d 192.168.1.8/30 -p tcp -m multiport --sports 80,443 -m mark ! --mark 0x80040000/0xc03f0000 -j MARK --set-mark 0x8004ffff/0xc03fffff
-o eth0 -s 192.168.1.8/30 -p tcp -m multiport --dports 80,443 -m mark ! --mark 0x40040000/0xc03f0000 -j MARK --set-mark 0x4004ffff/0xc03fffff
-o br0 -d 192.168.1.100/30 -p tcp -m multiport --sports 80,443 -m mark ! --mark 0x80040000/0xc03f0000 -j MARK --set-mark 0x8004ffff/0xc03fffff
-o eth0 -s 192.168.1.100/30 -p tcp -m multiport --dports 80,443 -m mark ! --mark 0x40040000/0xc03f0000 -j MARK --set-mark 0x4004ffff/0xc03fffff
-o br0 -d 192.168.1.16/28 -p tcp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff
-o br0 -d 192.168.1.16/28 -p udp -m multiport ! --sports 80,443 -m mark --mark 0x80000000/0xc03fffff -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.1.16/28 -p tcp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff
-o eth0 -s 192.168.1.16/28 -p udp -m multiport ! --dports 80,443 -m mark --mark 0x40000000/0xc03fffff -j MARK --set-mark 0x4008ffff/0xc03fffff
***********
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4
filter change dev br0 prio 2 protocol all handle 828::800 u32 flowid 1:12
filter change dev eth0 prio 2 protocol all handle 828::800 u32 flowid 1:12
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:12
filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:12
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:15
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:15
filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:15
class change dev br0 parent 1:1 classid 1:10 htb  prio 0 rate 15104Kbit ceil 302080Kbit burst 37760b cburst 377600b quantum 188800
class change dev eth0 parent 1:1 classid 1:10 htb  prio 0 rate 409Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 5112
class change dev br0 parent 1:1 classid 1:11 htb  prio 1 rate 60416Kbit ceil 302080Kbit burst 37760b cburst 377600b quantum 755200
class change dev eth0 parent 1:1 classid 1:11 htb  prio 1 rate 1638Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 20475
class change dev br0 parent 1:1 classid 1:12 htb  prio 2 rate 30208Kbit ceil 302080Kbit burst 37760b cburst 377600b quantum 377600
class change dev eth0 parent 1:1 classid 1:12 htb  prio 2 rate 2457Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 30712
class change dev br0 parent 1:1 classid 1:13 htb  prio 3 rate 45312Kbit ceil 302080Kbit burst 37760b cburst 377600b quantum 566400
class change dev eth0 parent 1:1 classid 1:13 htb  prio 3 rate 1228Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 15350
class change dev br0 parent 1:1 classid 1:14 htb  prio 4 rate 90624Kbit ceil 302080Kbit burst 37760b cburst 377600b quantum 1132800
class change dev eth0 parent 1:1 classid 1:14 htb  prio 4 rate 819Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 10237
class change dev br0 parent 1:1 classid 1:15 htb  prio 5 rate 30208Kbit ceil 302080Kbit burst 37760b cburst 377600b quantum 377600
class change dev eth0 parent 1:1 classid 1:15 htb  prio 5 rate 819Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 10237
class change dev br0 parent 1:1 classid 1:16 htb  prio 6 rate 15104Kbit ceil 302080Kbit burst 37760b cburst 377600b quantum 188800
class change dev eth0 parent 1:1 classid 1:16 htb  prio 6 rate 409Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 5112
class change dev br0 parent 1:1 classid 1:17 htb  prio 7 rate 15104Kbit ceil 302080Kbit burst 37760b cburst 377600b quantum 188800
class change dev eth0 parent 1:1 classid 1:17 htb  prio 7 rate 409Kbit ceil 8192Kbit burst 3200b cburst 9600b quantum 5112
qdisc replace dev br0 parent 1:2 fq_codel limit 1024
qdisc replace dev eth0 parent 1:2 fq_codel limit 1024
qdisc replace dev br0 parent 1:10 fq_codel limit 1024
qdisc replace dev eth0 parent 1:10 fq_codel limit 1024
qdisc replace dev br0 parent 1:11 fq_codel limit 1024
qdisc replace dev eth0 parent 1:11 fq_codel limit 1024
qdisc replace dev br0 parent 1:12 fq_codel limit 1024
qdisc replace dev eth0 parent 1:12 fq_codel limit 1024
qdisc replace dev br0 parent 1:13 fq_codel limit 1024
qdisc replace dev eth0 parent 1:13 fq_codel limit 1024
qdisc replace dev br0 parent 1:14 fq_codel limit 1024
qdisc replace dev eth0 parent 1:14 fq_codel limit 1024
qdisc replace dev br0 parent 1:15 fq_codel limit 1024
qdisc replace dev eth0 parent 1:15 fq_codel limit 1024
qdisc replace dev br0 parent 1:16 fq_codel limit 1024
qdisc replace dev eth0 parent 1:16 fq_codel limit 1024
qdisc replace dev br0 parent 1:17 fq_codel limit 1024
qdisc replace dev eth0 parent 1:17 fq_codel limit 1024
[/SPOILER][/CODE]
 
Last edited:
does everything look ok in my setup:
Looks OK to me. If you switch over temporarily to Traditional QoS and set your overhead/ATM values, FlexQoS will still use those when setting up the custom rates. Not required, but it's the only thing I see that could be beneficial.
 
So after much reading about all this... re: my RT-AC68U using FlexQoS - v1.2.1
-It's most likely the best Qos experience that I can dial-in should be after ENABLING fq_codel under the FlexQoS >> Customization Option
If so, why the default Queue Discipline setting?
 
Looks OK to me. If you switch over temporarily to Traditional QoS and set your overhead/ATM values, FlexQoS will still use those when setting up the custom rates. Not required, but it's the only thing I see that could be beneficial.
I changed it to reflect 'docsis', I also checked inside the ATM box as well correct?

Update: just did this and ran another debug command and now I see it "htb overhead 18". Thanks alot.
 
Last edited:
I changed it to reflect 'docsis', I also checked inside the ATM box as well correct?
Only if your connection is based on ATM. Usually DOCSIS is not ATM, but I'm not too smart in that area.
 
So after much reading about all this... re: my RT-AC68U using FlexQoS - v1.2.1
-It's most likely the best Qos experience that I can dial-in should be after ENABLING fq_codel under the FlexQoS >> Customization Option
If so, why the default Queue Discipline setting?
Because that has been the status quo and the fq_codel feature (as implemented) is relatively new.
 
Because that has been the status quo and the fq_codel feature (as implemented) is relatively new.
Thank you Dave for the prompt reply & answer.
I'm fairly new to all this QoS-stuff but your script/software has made it incredibly easy for me to obtain a TRIPLE A+ @ http://www.dslreports.com/speedtest
and say goodbye to bufferbloat & latency. I've also learned a TON about networking (And perhaps... some of my brains limitations & comprehension or lack-there-of).
Anyways, Thanks.
It just seems to work, & that's quite refreshing.
 
This is not a bug, but it could be confusing. ;-)
The order of things
flex2.jpg
.
flex.jpg
 
That 8
You seem to have a rule moving all port 80 and 443 traffic to Web Surfing, which would override the earlier rule for 192.168.3.32/29. The bottom-most rule will determine the final Mark, so put your most specific rules at the bottom.
That 80,443 rule is auto defined and even deleting it and recreating it does not seem to resolve the issue. I don't see an easy way to change the order of the rules. Am I missing something?
 
That 8

That 80,443 rule is auto defined and even deleting it and recreating it does not seem to resolve the issue. I don't see an easy way to change the order of the rules. Am I missing something?
There is currently no ability to reorder the rules in the UI. You would have to delete and recreate them in the order you wanted. I have an idea to add the user-defined rules in the Well-Known rules dropdown so that you can easily re-add them in the order you want. But that's still an idea only at this point.

There is no default 80,443 rule included in FlexQoS, so if you didn't create it, then just delete it. I don't see why it shouldn't work after that. Re-enter the rules so that all the rules with a local IP/CIDR are at the end of your list. If it's still not working, post another debug output once the rules look correct to you.
 
There is currently no ability to reorder the rules in the UI. You would have to delete and recreate them in the order you wanted. I have an idea to add the user-defined rules in the Well-Known rules dropdown so that you can easily re-add them in the order you want. But that's still an idea only at this point.

There is no default 80,443 rule included in FlexQoS, so if you didn't create it, then just delete it. I don't see why it shouldn't work after that. Re-enter the rules so that all the rules with a local IP/CIDR are at the end of your list. If it's still not working, post another debug output once the rules look correct to you

I hate to disagree but I did a clean install of 386.1 and then installed flexqos via amtm and that 80,443 rule was defined along with wifi calling, facetime and usenet rules. I've deleted all of them and then recreated them from the dropdown so hopefully will behave as it did in older version. Thanks!

My modified rules:

Code:
FlexQoS v1.2.1 released 2021-02-12

Debug date : 2021-02-18 16:38:59-0500
Router Model : RT-AC68U
Firmware Ver : 386.1_2
DPI/Sig Ver : 2.0.1 / 2.216
WAN iface : eth0
tc WAN iface : eth0
IPv6 : disabled
Undf Prio : 2
Down Band : 15360
Up Band : 15360
***********
Net Control : 1:10
Work-From-Home: 1:13
Gaming : 1:11
Others : 1:17
Web Surfing : 1:15
Streaming : 1:12
File Downloads: 1:16
Game Downloads: 1:14
***********
Downrates : 768, 2304, 4608, 3072, 768, 1536, 768, 1536
Downceils : 15360, 15360, 15360, 15360, 15360, 15360, 15360, 15360
Uprates : 768, 2304, 1536, 3072, 768, 1536, 768, 4608
Upceils : 15360, 15360, 15360, 15360, 15360, 15360, 15360, 15360
***********
iptables settings: <192.168.3.122>>both>>>>1<192.168.3.65>>both>>>>5<192.168.3.20/30>>both>>>>1<192.168.3.32/29>>both>>>>2<192.168.3.40/29>>both>>>>3<192.168.3.52/30>>bo
th>>>>1<>>both>80,443>>>4<>>tcp>>119,563>>5<>>both>>80,443>08****>3<>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>both>>53>>0
-o br0 -d 192.168.3.122 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.122 -j MARK --set-mark 0x4008ffff/0xc03fffff
-o br0 -d 192.168.3.65 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -s 192.168.3.65 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -d 192.168.3.20/30 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.20/30 -j MARK --set-mark 0x4008ffff/0xc03fffff
-o br0 -d 192.168.3.32/29 -j MARK --set-mark 0x8004ffff/0xc03fffff
-o eth0 -s 192.168.3.32/29 -j MARK --set-mark 0x4004ffff/0xc03fffff
-o br0 -d 192.168.3.40/29 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -s 192.168.3.40/29 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -d 192.168.3.52/30 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.52/30 -j MARK --set-mark 0x4008ffff/0xc03fffff
-o br0 -p tcp -m multiport --dports 80,443 -j MARK --set-mark 0x8018ffff/0xc03fffff
-o br0 -p udp -m multiport --dports 80,443 -j MARK --set-mark 0x8018ffff/0xc03fffff
-o eth0 -p tcp -m multiport --sports 80,443 -j MARK --set-mark 0x4018ffff/0xc03fffff
-o eth0 -p udp -m multiport --sports 80,443 -j MARK --set-mark 0x4018ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o br0 -p udp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 53 -j MARK --set-mark 0x8009ffff/0xc03fffff
-o br0 -p udp -m multiport --sports 53 -j MARK --set-mark 0x8009ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 53 -j MARK --set-mark 0x4009ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 53 -j MARK --set-mark 0x4009ffff/0xc03fffff
***********
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<05****>3
filter change dev br0 prio 2 protocol all handle 828::800 u32 flowid 1:17
filter change dev eth0 prio 2 protocol all handle 828::800 u32 flowid 1:17
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:17
filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:17
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:15
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:15
filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:15
filter change dev br0 prio 8 protocol all handle 808::800 u32 flowid 1:13
filter change dev eth0 prio 8 protocol all handle 808::800 u32 flowid 1:13
class change dev br0 parent 1:1 classid 1:10 htb overhead 4 linklayer ethernet prio 0 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:10 htb overhead 4 linklayer ethernet prio 0 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:11 htb overhead 4 linklayer ethernet prio 1 rate 2304Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 28800
class change dev eth0 parent 1:1 classid 1:11 htb overhead 4 linklayer ethernet prio 1 rate 2304Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 28800
class change dev br0 parent 1:1 classid 1:12 htb overhead 4 linklayer ethernet prio 2 rate 4608Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 57600
class change dev eth0 parent 1:1 classid 1:12 htb overhead 4 linklayer ethernet prio 2 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev br0 parent 1:1 classid 1:13 htb overhead 4 linklayer ethernet prio 3 rate 3072Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 38400
class change dev eth0 parent 1:1 classid 1:13 htb overhead 4 linklayer ethernet prio 3 rate 3072Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 38400
class change dev br0 parent 1:1 classid 1:14 htb overhead 4 linklayer ethernet prio 4 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:14 htb overhead 4 linklayer ethernet prio 4 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:15 htb overhead 4 linklayer ethernet prio 5 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev eth0 parent 1:1 classid 1:15 htb overhead 4 linklayer ethernet prio 5 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev br0 parent 1:1 classid 1:16 htb overhead 4 linklayer ethernet prio 6 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:16 htb overhead 4 linklayer ethernet prio 6 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:17 htb overhead 4 linklayer ethernet prio 7 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev eth0 parent 1:1 classid 1:17 htb overhead 4 linklayer ethernet prio 7 rate 4608Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 57600
 
I hate to disagree but I did a clean install of 386.1 and then installed flexqos via amtm and that 80,443 rule was defined along with wifi calling, facetime and usenet rules. I've deleted all of them and then recreated them from the dropdown so hopefully will behave as it did in older version. Thanks!

My modified rules:

Code:
FlexQoS v1.2.1 released 2021-02-12

Debug date : 2021-02-18 16:38:59-0500
Router Model : RT-AC68U
Firmware Ver : 386.1_2
DPI/Sig Ver : 2.0.1 / 2.216
WAN iface : eth0
tc WAN iface : eth0
IPv6 : disabled
Undf Prio : 2
Down Band : 15360
Up Band : 15360
***********
Net Control : 1:10
Work-From-Home: 1:13
Gaming : 1:11
Others : 1:17
Web Surfing : 1:15
Streaming : 1:12
File Downloads: 1:16
Game Downloads: 1:14
***********
Downrates : 768, 2304, 4608, 3072, 768, 1536, 768, 1536
Downceils : 15360, 15360, 15360, 15360, 15360, 15360, 15360, 15360
Uprates : 768, 2304, 1536, 3072, 768, 1536, 768, 4608
Upceils : 15360, 15360, 15360, 15360, 15360, 15360, 15360, 15360
***********
iptables settings: <192.168.3.122>>both>>>>1<192.168.3.65>>both>>>>5<192.168.3.20/30>>both>>>>1<192.168.3.32/29>>both>>>>2<192.168.3.40/29>>both>>>>3<192.168.3.52/30>>bo
th>>>>1<>>both>80,443>>>4<>>tcp>>119,563>>5<>>both>>80,443>08****>3<>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>both>>53>>0
-o br0 -d 192.168.3.122 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.122 -j MARK --set-mark 0x4008ffff/0xc03fffff
-o br0 -d 192.168.3.65 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -s 192.168.3.65 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -d 192.168.3.20/30 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.20/30 -j MARK --set-mark 0x4008ffff/0xc03fffff
-o br0 -d 192.168.3.32/29 -j MARK --set-mark 0x8004ffff/0xc03fffff
-o eth0 -s 192.168.3.32/29 -j MARK --set-mark 0x4004ffff/0xc03fffff
-o br0 -d 192.168.3.40/29 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -s 192.168.3.40/29 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -d 192.168.3.52/30 -j MARK --set-mark 0x8008ffff/0xc03fffff
-o eth0 -s 192.168.3.52/30 -j MARK --set-mark 0x4008ffff/0xc03fffff
-o br0 -p tcp -m multiport --dports 80,443 -j MARK --set-mark 0x8018ffff/0xc03fffff
-o br0 -p udp -m multiport --dports 80,443 -j MARK --set-mark 0x8018ffff/0xc03fffff
-o eth0 -p tcp -m multiport --sports 80,443 -j MARK --set-mark 0x4018ffff/0xc03fffff
-o eth0 -p udp -m multiport --sports 80,443 -j MARK --set-mark 0x4018ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o br0 -p udp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0xc03fffff
-o eth0 -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0xc03fffff
-o br0 -p tcp -m multiport --sports 53 -j MARK --set-mark 0x8009ffff/0xc03fffff
-o br0 -p udp -m multiport --sports 53 -j MARK --set-mark 0x8009ffff/0xc03fffff
-o eth0 -p tcp -m multiport --dports 53 -j MARK --set-mark 0x4009ffff/0xc03fffff
-o eth0 -p udp -m multiport --dports 53 -j MARK --set-mark 0x4009ffff/0xc03fffff
***********
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<05****>3
filter change dev br0 prio 2 protocol all handle 828::800 u32 flowid 1:17
filter change dev eth0 prio 2 protocol all handle 828::800 u32 flowid 1:17
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:17
filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:17
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:16
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:16
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:15
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:15
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:15
filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:15
filter change dev br0 prio 8 protocol all handle 808::800 u32 flowid 1:13
filter change dev eth0 prio 8 protocol all handle 808::800 u32 flowid 1:13
class change dev br0 parent 1:1 classid 1:10 htb overhead 4 linklayer ethernet prio 0 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:10 htb overhead 4 linklayer ethernet prio 0 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:11 htb overhead 4 linklayer ethernet prio 1 rate 2304Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 28800
class change dev eth0 parent 1:1 classid 1:11 htb overhead 4 linklayer ethernet prio 1 rate 2304Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 28800
class change dev br0 parent 1:1 classid 1:12 htb overhead 4 linklayer ethernet prio 2 rate 4608Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 57600
class change dev eth0 parent 1:1 classid 1:12 htb overhead 4 linklayer ethernet prio 2 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev br0 parent 1:1 classid 1:13 htb overhead 4 linklayer ethernet prio 3 rate 3072Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 38400
class change dev eth0 parent 1:1 classid 1:13 htb overhead 4 linklayer ethernet prio 3 rate 3072Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 38400
class change dev br0 parent 1:1 classid 1:14 htb overhead 4 linklayer ethernet prio 4 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:14 htb overhead 4 linklayer ethernet prio 4 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:15 htb overhead 4 linklayer ethernet prio 5 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev eth0 parent 1:1 classid 1:15 htb overhead 4 linklayer ethernet prio 5 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev br0 parent 1:1 classid 1:16 htb overhead 4 linklayer ethernet prio 6 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev eth0 parent 1:1 classid 1:16 htb overhead 4 linklayer ethernet prio 6 rate 768Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 9600
class change dev br0 parent 1:1 classid 1:17 htb overhead 4 linklayer ethernet prio 7 rate 1536Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 19200
class change dev eth0 parent 1:1 classid 1:17 htb overhead 4 linklayer ethernet prio 7 rate 4608Kbit ceil 15360Kbit burst 3200b cburst 19200b quantum 57600
Oh, that is worse, because all the specific rules are at the top instead of the bottom.

What is the description of this mysterious 80,443 rule?
 
Oh, that is worse, because all the specific rules are at the top instead of the bottom.

What is the description of this mysterious 80,443 rule?
Seems I can't win....originally all these rules were listed first...so I deleted and recreated them and they appear on the bottom.
 

Attachments

  • 2021-02-18_16-47.png
    2021-02-18_16-47.png
    596.4 KB · Views: 84
Seems I can't win....originally all these rules were listed first...so I deleted and recreated them and they appear on the bottom.
Some rules look weird (Game Downloads going to work-from-home, cams going to Gaming). That Web Surfing rule is very unusual since it’s filtering on local port, which is unlikely to occur. Comparing your earlier debug output, you might have put the ports in the wrong field the second time. But I still believe that is a bad rule anyway. I’d delete it. Too much traffic is on port 443 these days.

Sorry the process isn’t easier, but you might consider starting over again.
 
My dsl is ATM
If put "nvram get qos_atm" my result is null.....is this correct?
You can switch to Traditional QoS and set it and then change back to Adaptive QoS. Or change it with the nvram set command.
 
When looking at my streaming rule compared to the other examples I've seen, I noticed that on my setup I use the "TCP" protocol while others use "BOTH" for streaming.

Should I change it to reflect both vs. TCP, or it does not not make a difference at all.

Thanks!
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top