Best settings for gaming QoS+DSCP

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Post Reply
SirSWE
Posts: 88
Joined: Sat Jul 13, 2019 2:54 pm

Re: Best settings for gaming QoS+DSCP

Post by SirSWE »

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?

SirSWE
Posts: 88
Joined: Sat Jul 13, 2019 2:54 pm

Re: Best settings for gaming QoS+DSCP

Post by SirSWE »

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

VanCleef
Posts: 51
Joined: Tue Jul 09, 2019 9:01 am

Re: Best settings for gaming QoS+DSCP

Post by VanCleef »

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.
TP-Link Archer C7 v2
Gargoyle: 1.10.0
Down: 38MB
Up: 6.5MB

SirSWE
Posts: 88
Joined: Sat Jul 13, 2019 2:54 pm

Re: Best settings for gaming QoS+DSCP

Post by SirSWE »

Same, I feelt the game feels more responsive with ICMP priotized. I used it on Advanced Tomato and it helped alot.

-taz-
Posts: 44
Joined: Wed Oct 23, 2019 11:21 pm

Re: Best settings for gaming QoS+DSCP

Post by -taz- »

My settings are incorrect, I will try other settings

(That's why CS4)
https://tools.ietf.org/html/rfc4594

VanCleef
Posts: 51
Joined: Tue Jul 09, 2019 9:01 am

Re: Best settings for gaming QoS+DSCP

Post by VanCleef »

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
TP-Link Archer C7 v2
Gargoyle: 1.10.0
Down: 38MB
Up: 6.5MB

FuUuRyyyyY
Posts: 2
Joined: Tue Nov 26, 2019 4:02 am

Re: Best settings for gaming QoS+DSCP

Post by FuUuRyyyyY »

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]

-taz-
Posts: 44
Joined: Wed Oct 23, 2019 11:21 pm

Re: Best settings for gaming QoS+DSCP

Post by -taz- »

I can not see the image

FuUuRyyyyY
Posts: 2
Joined: Tue Nov 26, 2019 4:02 am

Re: Best settings for gaming QoS+DSCP

Post by FuUuRyyyyY »

-taz- wrote:I can not see the image
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
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

-taz-
Posts: 44
Joined: Wed Oct 23, 2019 11:21 pm

Re: Best settings for gaming QoS+DSCP

Post by -taz- »

WinSCP program, etc / Firewall.user

the commands here

Post Reply