Best settings for gaming QoS+DSCP
Moderator: Moderators
Re: Best settings for gaming QoS+DSCP
Solved it. When its more then 1 ports it has to be multiport. Here's a working one
iptables -t mangle -A PREROUTING -j DSCP --set-dscp-class CS0
iptables -t mangle -A PREROUTING -p icmp -j DSCP --set-dscp-class CS5
iptables -t mangle -A PREROUTING -p udp --match multiport --sport 3074,3478:3479 -s 192.168.1.100 -j DSCP --set-dscp-class CS5
iptables -t mangle -A PREROUTING -p udp --match multiport --dport 3074,3478:3479 -d 192.168.1.100 -j DSCP --set-dscp-class CS5
iptables -t mangle -A PREROUTING -p tcp --match multiport --sport 1935,3478:3480 -s 192.168.1.100 -j DSCP --set-dscp-class CS5
iptables -t mangle -A PREROUTING -p tcp --match multiport --dport 1935,3478:3480 -d 192.168.1.100 -j DSCP --set-dscp-class CS5
---
Lmao I see you changed to preroutring, i changed to postroutring instead. My gaming experience is alot better. But what is the diffrence between CS6 and EF?
iptables -t mangle -A PREROUTING -j DSCP --set-dscp-class CS0
iptables -t mangle -A PREROUTING -p icmp -j DSCP --set-dscp-class CS5
iptables -t mangle -A PREROUTING -p udp --match multiport --sport 3074,3478:3479 -s 192.168.1.100 -j DSCP --set-dscp-class CS5
iptables -t mangle -A PREROUTING -p udp --match multiport --dport 3074,3478:3479 -d 192.168.1.100 -j DSCP --set-dscp-class CS5
iptables -t mangle -A PREROUTING -p tcp --match multiport --sport 1935,3478:3480 -s 192.168.1.100 -j DSCP --set-dscp-class CS5
iptables -t mangle -A PREROUTING -p tcp --match multiport --dport 1935,3478:3480 -d 192.168.1.100 -j DSCP --set-dscp-class CS5
---
Lmao I see you changed to preroutring, i changed to postroutring instead. My gaming experience is alot better. But what is the diffrence between CS6 and EF?
Re: Best settings for gaming QoS+DSCP
I will use this setup instead.
iptables -t mangle -A POSTROUTING -j DSCP --set-dscp-class CS1
iptables -t mangle -A POSTROUTING -p icmp -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -p udp --match multiport --sport 3074,3478:3479 -s 192.168.1.100 -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -p udp --match multiport --dport 3074,3478:3479 -d 192.168.1.100 -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -p tcp --match multiport --sport 1935,3478:3480 -s 192.168.1.100 -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -p tcp --match multiport --dport 1935,3478:3480 -d 192.168.1.100 -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -j DSCP --set-dscp-class CS1
iptables -t mangle -A POSTROUTING -p icmp -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -p udp --match multiport --sport 3074,3478:3479 -s 192.168.1.100 -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -p udp --match multiport --dport 3074,3478:3479 -d 192.168.1.100 -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -p tcp --match multiport --sport 1935,3478:3480 -s 192.168.1.100 -j DSCP --set-dscp-class CS4
iptables -t mangle -A POSTROUTING -p tcp --match multiport --dport 1935,3478:3480 -d 192.168.1.100 -j DSCP --set-dscp-class CS4
Re: Best settings for gaming QoS+DSCP
For me, tcp ports were not productive, they were being used for download and not for real-time game traffic.
I use only udp again.
I also changed CS5 to EF.
I use only udp again.
I also changed CS5 to EF.
TP-Link Archer C7 v2
Gargoyle: 1.10.0
Down: 38MB
Up: 6.5MB
Gargoyle: 1.10.0
Down: 38MB
Up: 6.5MB
Re: Best settings for gaming QoS+DSCP
Same, I feelt the game feels more responsive with ICMP priotized. I used it on Advanced Tomato and it helped alot.
Re: Best settings for gaming QoS+DSCP
My settings are incorrect, I will try other settings
(That's why CS4)
https://tools.ietf.org/html/rfc4594
(That's why CS4)
https://tools.ietf.org/html/rfc4594
Re: Best settings for gaming QoS+DSCP
Thanks @taz for this documentation, very interesting.
CS4 seems to be the right class for gaming, here goes well.
iptables -t mangle -A PREROUTING -j DSCP --set-dscp-class CS0
iptables -t mangle -A FORWARD -p icmp -j DSCP --set-dscp-class EF
iptables -t mangle -A FORWARD -s 192.168.1.142 -p udp --sport 1024:65535 -j DSCP --set-dscp-class CS4
iptables -t mangle -A FORWARD -d 192.168.1.142 -p udp --dport 1024:65535 -j DSCP --set-dscp-class CS4
CS4 seems to be the right class for gaming, here goes well.
iptables -t mangle -A PREROUTING -j DSCP --set-dscp-class CS0
iptables -t mangle -A FORWARD -p icmp -j DSCP --set-dscp-class EF
iptables -t mangle -A FORWARD -s 192.168.1.142 -p udp --sport 1024:65535 -j DSCP --set-dscp-class CS4
iptables -t mangle -A FORWARD -d 192.168.1.142 -p udp --dport 1024:65535 -j DSCP --set-dscp-class CS4
TP-Link Archer C7 v2
Gargoyle: 1.10.0
Down: 38MB
Up: 6.5MB
Gargoyle: 1.10.0
Down: 38MB
Up: 6.5MB
-
- Posts: 2
- Joined: Tue Nov 26, 2019 4:02 am
Re: Best settings for gaming QoS+DSCP
Hello friend, I wanted to ask for help, since I did the steps to follow according to your tutorial and when I want to save the iptables commands they are not saved, it does not let me save I put the command /etc/init.d/firewall restart and it does not restart
[img]/VVrLcN7[/img]

[img]/VVrLcN7[/img]
Re: Best settings for gaming QoS+DSCP
I can not see the image
-
- Posts: 2
- Joined: Tue Nov 26, 2019 4:02 am
Re: Best settings for gaming QoS+DSCP
I don't know why it doesn't let me upload a link to the image, when I put the command /etc/init.d/firewall restart-taz- wrote:I can not see the image
At the bottom, "pattern not found" and does not let me save the commands, I already executed as admin the putty and there is no case. Thanks in advance
Re: Best settings for gaming QoS+DSCP
WinSCP program, etc / Firewall.user
the commands here
the commands here