Advertisement
livewire1968

Flexqos

Jan 26th, 2021
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.04 KB | None | 0 0
  1. Rebooted Router , waited till everything settled *****************************
  2. The only flexqos changes with this output, one iptable rule pointing all traffic from 192.168.51.203 to gaming
  3. Chain PREROUTING (policy ACCEPT 6237 packets, 2408K bytes)
  4. pkts bytes target prot opt in out source destination
  5. 1116 465K BWDPI_FILTER udp -- eth0 * 0.0.0.0/0 0.0.0.0/0
  6.  
  7. Chain INPUT (policy ACCEPT 2565 packets, 377K bytes)
  8. pkts bytes target prot opt in out source destination
  9.  
  10. Chain FORWARD (policy ACCEPT 2986 packets, 1829K bytes)
  11. pkts bytes target prot opt in out source destination
  12.  
  13. Chain OUTPUT (policy ACCEPT 2813 packets, 3005K bytes)
  14. pkts bytes target prot opt in out source destination
  15. 0 0 MARK udp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports !53,123 MARK xset 0x4003ffff/0x403fffff
  16. 51 6637 MARK tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports !53,123,853 MARK xset 0x4003ffff/0x403fffff
  17.  
  18. Chain POSTROUTING (policy ACCEPT 5822 packets, 4840K bytes)
  19. pkts bytes target prot opt in out source destination
  20. 5822 4840K FlexQoS all -- * * 0.0.0.0/0 0.0.0.0/0
  21.  
  22. Chain BWDPI_FILTER (1 references)
  23. pkts bytes target prot opt in out source destination
  24. 0 0 DROP udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp spt:68 dpt:67
  25.  
  26. Chain FlexQoS (1 references)
  27. pkts bytes target prot opt in out source destination
  28. 0 0 MARK udp -- * br0 0.0.0.0/0 0.0.0.0/0 multiport sports 500,4500 MARK xset 0x8006ffff/0x803fffff
  29. 0 0 MARK udp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports 500,4500 MARK xset 0x4006ffff/0x403fffff
  30. 0 0 MARK udp -- * br0 0.0.0.0/0 0.0.0.0/0 multiport dports 16384:16415 MARK xset 0x8006ffff/0x803fffff
  31. 0 0 MARK udp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport sports 16384:16415 MARK xset 0x4006ffff/0x403fffff
  32. 0 0 MARK tcp -- * br0 0.0.0.0/0 0.0.0.0/0 multiport sports 119,563 MARK xset 0x8003ffff/0x803fffff
  33. 0 0 MARK tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports 119,563 MARK xset 0x4003ffff/0x403fffff
  34. 0 0 MARK tcp -- * br0 0.0.0.0/0 0.0.0.0/0 multiport sports 80,443 mark match 0x80080000/0xc03f0000 MARK or 0x803fffff
  35. 0 0 MARK tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443 mark match 0x40080000/0xc03f0000 MARK or 0x403fffff
  36. 3594 4436K MARK all -- * br0 0.0.0.0/0 192.168.51.203 MARK xset 0x8008ffff/0x803fffff
  37. 1357 210K MARK all -- * eth0 192.168.51.203 0.0.0.0/0 MARK xset 0x4008ffff/0x403fffff
  38.  
  39. ==========================
  40. class htb 1:11 parent 1:1 leaf 11: prio 1 rate 8294Kbit overhead 27 ceil 27648Kbit burst 9598b cburst 33595b
  41. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  42. rate 0bit 0pps backlog 0b 0p requeues 0
  43. lended: 0 borrowed: 0 giants: 0
  44. tokens: 144703 ctokens: 151906
  45.  
  46. class htb 1:10 parent 1:1 leaf 10: prio 0 rate 1382Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  47. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  48. rate 0bit 0pps backlog 0b 0p requeues 0
  49. lended: 0 borrowed: 0 giants: 0
  50. tokens: 290687 ctokens: 151906
  51.  
  52. class htb 1:1 root rate 27648Kbit ceil 27648Kbit burst 33595b cburst 33595b
  53. Sent 3158857 bytes 3467 pkt (dropped 0, overlimits 0 requeues 0)
  54. rate 73704bit 13pps backlog 0b 0p requeues 0
  55. lended: 1036 borrowed: 0 giants: 0
  56. tokens: 151444 ctokens: 151444
  57.  
  58. class htb 1:2 root leaf 2: prio 0 rate 1Gbit ceil 1Gbit burst 1249375b cburst 1249375b
  59. Sent 1534986 bytes 1697 pkt (dropped 0, overlimits 0 requeues 0)
  60. rate 44112bit 7pps backlog 0b 0p requeues 0
  61. lended: 1697 borrowed: 0 giants: 0
  62. tokens: 156165 ctokens: 156165
  63.  
  64. class htb 1:13 parent 1:1 leaf 13: prio 3 rate 2764Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  65. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  66. rate 0bit 0pps backlog 0b 0p requeues 0
  67. lended: 0 borrowed: 0 giants: 0
  68. tokens: 290687 ctokens: 151906
  69.  
  70. class htb 1:12 parent 1:1 leaf 12: prio 2 rate 5529Kbit overhead 27 ceil 27648Kbit burst 6399b cburst 33595b
  71. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  72. rate 0bit 0pps backlog 0b 0p requeues 0
  73. lended: 0 borrowed: 0 giants: 0
  74. tokens: 144921 ctokens: 151906
  75.  
  76. class htb 1:15 parent 1:1 leaf 15: prio 5 rate 2764Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  77. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  78. rate 0bit 0pps backlog 0b 0p requeues 0
  79. lended: 0 borrowed: 0 giants: 0
  80. tokens: 485421 ctokens: 151906
  81.  
  82. class htb 1:14 parent 1:1 leaf 14: prio 4 rate 1382Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  83. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  84. rate 0bit 0pps backlog 0b 0p requeues 0
  85. lended: 0 borrowed: 0 giants: 0
  86. tokens: 362312 ctokens: 151906
  87.  
  88. class htb 1:17 parent 1:1 leaf 17: prio 7 rate 1382Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  89. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  90. rate 0bit 0pps backlog 0b 0p requeues 0
  91. lended: 0 borrowed: 0 giants: 0
  92. tokens: 1470578 ctokens: 151906
  93.  
  94. class htb 1:16 parent 1:1 leaf 16: prio 6 rate 4147Kbit overhead 27 ceil 27648Kbit burst 4799b cburst 33595b
  95. Sent 3158857 bytes 3467 pkt (dropped 0, overlimits 0 requeues 0)
  96. rate 73704bit 13pps backlog 0b 0p requeues 0
  97. lended: 1473 borrowed: 1036 giants: 0
  98. tokens: 140782 ctokens: 151322
  99. =====================================After Running Youtube and a Speedtest=========================================
  100. Chain PREROUTING (policy ACCEPT 94063 packets, 85M bytes)
  101. pkts bytes target prot opt in out source destination
  102. 24053 30M BWDPI_FILTER udp -- eth0 * 0.0.0.0/0 0.0.0.0/0
  103.  
  104. Chain INPUT (policy ACCEPT 4383 packets, 617K bytes)
  105. pkts bytes target prot opt in out source destination
  106.  
  107. Chain FORWARD (policy ACCEPT 88420 packets, 84M bytes)
  108. pkts bytes target prot opt in out source destination
  109.  
  110. Chain OUTPUT (policy ACCEPT 5293 packets, 4106K bytes)
  111. pkts bytes target prot opt in out source destination
  112. 0 0 MARK udp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports !53,123 MARK xset 0x4003ffff/0x403fffff
  113. 93 11581 MARK tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports !53,123,853 MARK xset 0x4003ffff/0x403fffff
  114.  
  115. Chain POSTROUTING (policy ACCEPT 93728 packets, 88M bytes)
  116. pkts bytes target prot opt in out source destination
  117. 93728 88M FlexQoS all -- * * 0.0.0.0/0 0.0.0.0/0
  118.  
  119. Chain BWDPI_FILTER (1 references)
  120. pkts bytes target prot opt in out source destination
  121. 0 0 DROP udp -- eth0 * 0.0.0.0/0 0.0.0.0/0 udp spt:68 dpt:67
  122.  
  123. Chain FlexQoS (1 references)
  124. pkts bytes target prot opt in out source destination
  125. 0 0 MARK udp -- * br0 0.0.0.0/0 0.0.0.0/0 multiport sports 500,4500 MARK xset 0x8006ffff/0x803fffff
  126. 0 0 MARK udp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports 500,4500 MARK xset 0x4006ffff/0x403fffff
  127. 0 0 MARK udp -- * br0 0.0.0.0/0 0.0.0.0/0 multiport dports 16384:16415 MARK xset 0x8006ffff/0x803fffff
  128. 0 0 MARK udp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport sports 16384:16415 MARK xset 0x4006ffff/0x403fffff
  129. 0 0 MARK tcp -- * br0 0.0.0.0/0 0.0.0.0/0 multiport sports 119,563 MARK xset 0x8003ffff/0x803fffff
  130. 0 0 MARK tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports 119,563 MARK xset 0x4003ffff/0x403fffff
  131. 0 0 MARK tcp -- * br0 0.0.0.0/0 0.0.0.0/0 multiport sports 80,443 mark match 0x80080000/0xc03f0000 MARK or 0x803fffff
  132. 0 0 MARK tcp -- * eth0 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443 mark match 0x40080000/0xc03f0000 MARK or 0x403fffff
  133. 63083 81M MARK all -- * br0 0.0.0.0/0 192.168.51.203 MARK xset 0x8008ffff/0x803fffff
  134. 29031 6994K MARK all -- * eth0 192.168.51.203 0.0.0.0/0 MARK xset 0x4008ffff/0x403fffff
  135. =======================
  136.  
  137. class htb 1:11 parent 1:1 leaf 11: prio 1 rate 8294Kbit overhead 27 ceil 27648Kbit burst 9598b cburst 33595b
  138. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  139. rate 0bit 0pps backlog 0b 0p requeues 0
  140. lended: 0 borrowed: 0 giants: 0
  141. tokens: 144703 ctokens: 151906
  142.  
  143. class htb 1:10 parent 1:1 leaf 10: prio 0 rate 1382Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  144. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  145. rate 0bit 0pps backlog 0b 0p requeues 0
  146. lended: 0 borrowed: 0 giants: 0
  147. tokens: 290687 ctokens: 151906
  148.  
  149. class htb 1:1 root rate 27648Kbit ceil 27648Kbit burst 33595b cburst 33595b
  150. Sent 5589083 bytes 7740 pkt (dropped 0, overlimits 0 requeues 0)
  151. rate 222432bit 53pps backlog 0b 0p requeues 0
  152. lended: 2044 borrowed: 0 giants: 0
  153. tokens: 150481 ctokens: 150481
  154.  
  155. class htb 1:2 root leaf 2: prio 0 rate 1Gbit ceil 1Gbit burst 1249375b cburst 1249375b
  156. Sent 76662779 bytes 57257 pkt (dropped 0, overlimits 0 requeues 0)
  157. rate 2511Kbit 264pps backlog 0b 0p requeues 0
  158. lended: 57257 borrowed: 0 giants: 0
  159. tokens: 156178 ctokens: 156178
  160.  
  161. class htb 1:13 parent 1:1 leaf 13: prio 3 rate 2764Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  162. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  163. rate 0bit 0pps backlog 0b 0p requeues 0
  164. lended: 0 borrowed: 0 giants: 0
  165. tokens: 290687 ctokens: 151906
  166.  
  167. class htb 1:12 parent 1:1 leaf 12: prio 2 rate 5529Kbit overhead 27 ceil 27648Kbit burst 6399b cburst 33595b
  168. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  169. rate 0bit 0pps backlog 0b 0p requeues 0
  170. lended: 0 borrowed: 0 giants: 0
  171. tokens: 144921 ctokens: 151906
  172.  
  173. class htb 1:15 parent 1:1 leaf 15: prio 5 rate 2764Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  174. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  175. rate 0bit 0pps backlog 0b 0p requeues 0
  176. lended: 0 borrowed: 0 giants: 0
  177. tokens: 485421 ctokens: 151906
  178.  
  179. class htb 1:14 parent 1:1 leaf 14: prio 4 rate 1382Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  180. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  181. rate 0bit 0pps backlog 0b 0p requeues 0
  182. lended: 0 borrowed: 0 giants: 0
  183. tokens: 362312 ctokens: 151906
  184.  
  185. class htb 1:17 parent 1:1 leaf 17: prio 7 rate 1382Kbit overhead 27 ceil 27648Kbit burst 3199b cburst 33595b
  186. Sent 0 bytes 0 pkt (dropped 0, overlimits 0 requeues 0)
  187. rate 0bit 0pps backlog 0b 0p requeues 0
  188. lended: 0 borrowed: 0 giants: 0
  189. tokens: 1470578 ctokens: 151906
  190.  
  191. class htb 1:16 parent 1:1 leaf 16: prio 6 rate 4147Kbit overhead 27 ceil 27648Kbit burst 4799b cburst 33595b
  192. Sent 5589083 bytes 7740 pkt (dropped 0, overlimits 0 requeues 0)
  193. rate 222432bit 53pps backlog 0b 0p requeues 0
  194. lended: 4676 borrowed: 2044 giants: 0
  195. tokens: 134362 ctokens: 150359
  196. ===================Flexqos Debug==============================================
  197. [1;32m[SPOILER="FlexQoS Debug"][CODE]
  198.  
  199. FlexQoS v1.1.0 released 2020-12-13
  200.  
  201. Debug date : 2021-01-26 12:10:00-0500
  202. Router Model : RT-AX86U
  203. Firmware Ver : 386.1_beta5
  204. DPI/Sig Ver : 2.0.1 / 2.212
  205. WAN iface : eth0
  206. tc WAN iface : eth0
  207. IPv6 : disabled
  208. Undf Prio : 2
  209. Down Band : 27648
  210. Up Band : 1024
  211. ***********
  212. Net Control : 1:10
  213. Work-From-Home: 1:12
  214. Gaming : 1:16
  215. Others : 1:15
  216. Web Surfing : 1:13
  217. Streaming : 1:11
  218. File Downloads: 1:14
  219. Game Downloads: 1:17
  220. ***********
  221. Downrates : 1382, 8294, 5529, 2764, 1382, 2764, 4147, 1382
  222. Downceils : 27648, 27648, 27648, 27648, 27648, 27648, 27648, 27648
  223. Downbursts : 3200, 9600, 6400, 3200, 3200, 3200, 4800, 3200
  224. DownCbursts : 33600, 33600, 33600, 33600, 33600, 33600, 33600, 33600
  225. DownQuantums : 17275, 103675, 69112, 34550, 17275, 34550, 51837, 17275
  226. ***********
  227. Uprates : 51, 102, 204, 102, 51, 307, 153, 51
  228. Upceils : 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024
  229. Upbursts : 3200, 3200, 3200, 3200, 3200, 3200, 3200, 3200
  230. UpCbursts : 3200, 3200, 3200, 3200, 3200, 3200, 3200, 3200
  231. UpQuantums : 1514, 1514, 2550, 1514, 1514, 3837, 1912, 1514
  232. ***********
  233. iptables settings: <>>udp>>500,4500>>3<>>udp>16384:16415>>>3<>>tcp>>119,563>>5<>>tcp>>80,443>08****>7<192.168.51.203>>both>>>>1
  234. -o br0 -p udp -m multiport --sports 500,4500 -j MARK --set-mark 0x8006ffff/0x3fffff
  235. -o eth0 -p udp -m multiport --dports 500,4500 -j MARK --set-mark 0x4006ffff/0x3fffff
  236. -o br0 -p udp -m multiport --dports 16384:16415 -j MARK --set-mark 0x8006ffff/0x3fffff
  237. -o eth0 -p udp -m multiport --sports 16384:16415 -j MARK --set-mark 0x4006ffff/0x3fffff
  238. -o br0 -p tcp -m multiport --sports 119,563 -j MARK --set-mark 0x8003ffff/0x3fffff
  239. -o eth0 -p tcp -m multiport --dports 119,563 -j MARK --set-mark 0x4003ffff/0x3fffff
  240. -o br0 -p tcp -m multiport --sports 80,443 -m mark --mark 0x80080000/0xc03f0000 -j MARK --set-mark 0x803fffff/0x3fffff
  241. -o eth0 -p tcp -m multiport --dports 80,443 -m mark --mark 0x40080000/0xc03f0000 -j MARK --set-mark 0x403fffff/0x3fffff
  242. -o br0 -d 192.168.51.203 -j MARK --set-mark 0x8008ffff/0x3fffff
  243. -o eth0 -s 192.168.51.203 -j MARK --set-mark 0x4008ffff/0x3fffff
  244. ***********
  245. appdb rules: <000000>6<00006B>6<0D0007>5<0D0086>5<0D00A0>5<12003F>4<13****>4<14****>4<1A****>5
  246. filter change dev br0 prio 2 protocol all handle 828::800 u32 flowid 1:15
  247. filter change dev eth0 prio 2 protocol all handle 828::800 u32 flowid 1:15
  248. filter add dev br0 protocol all prio 2 u32 match mark 0x8000006B 0xc03fffff flowid 1:15
  249. filter add dev eth0 protocol all prio 2 u32 match mark 0x4000006B 0xc03fffff flowid 1:15
  250. filter add dev br0 protocol all prio 15 u32 match mark 0x800D0007 0xc03fffff flowid 1:14
  251. filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0007 0xc03fffff flowid 1:14
  252. filter add dev br0 protocol all prio 15 u32 match mark 0x800D0086 0xc03fffff flowid 1:14
  253. filter add dev eth0 protocol all prio 15 u32 match mark 0x400D0086 0xc03fffff flowid 1:14
  254. filter add dev br0 protocol all prio 15 u32 match mark 0x800D00A0 0xc03fffff flowid 1:14
  255. filter add dev eth0 protocol all prio 15 u32 match mark 0x400D00A0 0xc03fffff flowid 1:14
  256. filter add dev br0 protocol all prio 20 u32 match mark 0x8012003F 0xc03fffff flowid 1:13
  257. filter add dev eth0 protocol all prio 20 u32 match mark 0x4012003F 0xc03fffff flowid 1:13
  258. filter change dev br0 prio 22 protocol all handle 802::800 u32 flowid 1:13
  259. filter change dev eth0 prio 22 protocol all handle 802::800 u32 flowid 1:13
  260. filter change dev br0 prio 23 protocol all handle 804::800 u32 flowid 1:13
  261. filter change dev eth0 prio 23 protocol all handle 804::800 u32 flowid 1:13
  262. filter change dev br0 prio 2 protocol all handle 828::802 u32 flowid 1:14
  263. filter change dev eth0 prio 2 protocol all handle 828::802 u32 flowid 1:14
  264. [/CODE][/SPOILER]
  265.  
  266. Copy the text from [SPOILER] to [/SPOILER] and paste into a forum post at snbforums.com
  267.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement