FlexQoS FlexQos on Latest Stock FW

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.
  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

rlj2

Regular Contributor
Since QOS is totally broke on merlin 386.XXX for a AX86u right now Im stuck using stock. Played around with flexqos scripts this morning. Have it up and running on stock. Obviously config file has to be edited manually. Seems to be working.
Hack to start it auto
script_usbmount=/jffs/scripts/flexqos.startup


FlexQoS v1.1.0 released 2020-12-13

Debug date : 2021-01-04 10:44:59-0500
Router Model : RT-AX86U
Firmware Ver : 386_41535-g1caa24a
DPI/Sig Ver : 2.0.1 / 2.210
WAN iface : eth0
tc WAN iface : eth0
IPv6 : disabled
Undf Prio : 2
Down Band : 27648
Up Band : 1946
***********
Net Control : 1:10
Work-From-Home: 1:12
Gaming : 1:17
Others : 1:15
Web Surfing : 1:13
Streaming : 1:11
File Downloads: 1:14
Game Downloads: 1:16
***********
Downrates : 1382, 8294, 5529, 2764, 1382, 2764, 1382, 4147
Downceils : 27648, 27648, 27648, 27648, 27648, 27648, 27648, 27648
Downbursts : 3200, 9600, 6400, 3200, 3200, 3200, 3200, 4800
DownCbursts : 33600, 33600, 33600, 33600, 33600, 33600, 33600, 33600
DownQuantums : 17275, 103675, 69112, 34550, 17275, 34550, 17275, 51837
***********
Uprates : 97, 194, 389, 194, 97, 583, 97, 291
Upceils : 1946, 1946, 1946, 1946, 1946, 1946, 1946, 1946
Upbursts : 3200, 3200, 3200, 3200, 3200, 3200, 3200, 3200
UpCbursts : 3200, 3200, 3200, 3200, 3200, 3200, 3200, 3200
UpQuantums : 1212, 2425, 4862, 2425, 1212, 7287, 1212, 3637
***********
iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7<192.168.50.25>>both>>>>2<192.168.50.157>>both>>>>2<192.168.50.190>>both>>>>3<192.168.50.135>>both>>>>3<192.168.50.198>>both>>>>
-o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0x3fffff
-o eth0 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0x3fffff
-o br0 -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0x3fffff
-o eth0 -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0x3fffff
-o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0x3fffff
-o eth0 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0x3fffff
-o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803fffff/0x3fffff
-o eth0 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403fffff/0x3fffff
-o br0 -d 192.168.50.25 -j MARK --set-mark 0x8004ffff/0x3fffff
-o eth0 -s 192.168.50.25 -j MARK --set-mark 0x4004ffff/0x3fffff
-o br0 -d 192.168.50.157 -j MARK --set-mark 0x8004ffff/0x3fffff
-o eth0 -s 192.168.50.157 -j MARK --set-mark 0x4004ffff/0x3fffff
-o br0 -d 192.168.50.190 -j MARK --set-mark 0x8006ffff/0x3fffff
-o eth0 -s 192.168.50.190 -j MARK --set-mark 0x4006ffff/0x3fffff
-o br0 -d 192.168.50.135 -j MARK --set-mark 0x8006ffff/0x3fffff
-o eth0 -s 192.168.50.135 -j MARK --set-mark 0x4006ffff/0x3fffff
-o br0 -d 192.168.50.198 -j MARK --set-mark 0x8008ffff/0x3fffff
-o eth0 -s 192.168.50.198 -j MARK --set-mark 0x4008ffff/0x3fffff
-o br0 -d 192.168.50.32 -j MARK --set-mark 0x8006ffff/0x3fffff
-o eth0 -s 192.168.50.32 -j MARK --set-mark 0x4006ffff/0x3fffff
-o br0 -d 192.168.50.53 -j MARK --set-mark 0x8008ffff/0x3fffff
-o eth0 -s 192.168.50.53 -j MARK --set-mark 0x4008ffff/0x3fffff
-o br0 -d 192.168.50.23 -j MARK --set-mark 0x8004ffff/0x3fffff
-o eth0 -s 192.168.50.23 -j MARK --set-mark 0x4004ffff/0x3fffff
***********
appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
filter add dev br0 protocol all prio 2 u32 match mark 0x80000000 0xc000ffff flowid 1:15
filter add dev eth0 protocol all prio 2 u32 match mark 0x40000000 0xc000ffff flowid 1:15
filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:15
filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:15
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:14
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:14
filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:14
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:14
filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:14
filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:14
filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:13
filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:13
filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:13
filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:13
filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:13
filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:13
filter add dev br0 protocol all prio 2 u32 match mark 0x801A0000 0xc03f0000 flowid 1:14
filter add dev eth0 protocol all prio 2 u32 match mark 0x401A0000 0xc03f0000 flowid 1:14
 
Last edited:

Similar threads

Sign Up For SNBForums Daily Digest

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