Kherby
June 27, 2020, 7:14pm
17
SQM with DSCP tagging for gaming is a great idea but with a default config of SQM + Layer_cake and most Network setups (e.g. OpenWrt Router with Wifi AP) this will only work for egress afaik, unless you work with veth, nftables or a script for ingress DSCP, which isn't always so easy to implement for many people (myself included).
Hello.
The original thread is reference only now, you will also find the setup steps!
Please remove old script and use this one, port based script is not accurated and can cause more load on CPU.
Here is the latest DSCP marking script, you can name it DSCP.sh place it in /root then mark it as executable using Winscp or via terminal chmod 755 /root/DSCP.sh .
#!/bin/bash -x
IPT="iptables"
##########
#Veth start
##########
WANIF="pppoe-wan" #wan interface
tc qdisc add dev wlan0 root mq #setup …
If you're using a snapshot of master you can use sqm-scripts 1.4.0 (or newer) with cake and also install kmod-sched-ctinfo, kmod-sched-connmark, and kmod-sched-ipset (the latter is optional but I make use of it). I use a simple script based off of what @ldir originally posted:
#!/bin/sh
# Cero3 Shaper
# A cake shaper and AQM solution that allows several diffserv marking schemes
# for ethernet gateways
# This program is free software; you can redistribute it and/or modify
# it under the terms o…