jesanor
October 23, 2020, 12:34am
13
snoopyglobal:
lag-free gaming
that's all that matters! thanks for reporting your experience.
edit: if you want to go a bit more advanced have a look at DSCP marking for prioritizing gaming traffic, or de-prioritize background traffic like torrents or so..
The ipsets (dynamically filled by dnsmasq) were a convenient way to classify hosts into video, voice, bulk etc. You don't need to use the ipset mechanism at all - it was a way to simplify the rules. Here's a pretty much neutered version of the script (most stuff just commented out) that will build the iptables framework without actually doing much dscp mangling/classification. It still retains the 'long best effort de-prioritised to bulk' dynamic bit. It should allow you to see the 'framewor…
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 …