Best settings for gaming QoS+DSCP

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

Moderator: Moderators

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

Re: Best settings for gaming QoS+DSCP

Post by -taz- »

Hello

if I am a PC player, I only give priority to the ports of my PC (ip), I put the tcp and udp ports that the game requests in this case battlefield 4

I do it with the command and with the Qos

Router TP-Link Archer C7 V4

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

Re: Best settings for gaming QoS+DSCP

Post by SirSWE »

Im going to try this setup, it looks great. I only playing cod on my ps4. It uses the port 3074. I always had some weird hit detection when i played when i was in a party maybe this will help.

Edit: I didnt made it to ssh the DSCP so I entered WINSCP and edited the firewall.user file and copy and pasted:
iptables -t mangle -A PREROUTING -j DSCP --set-dscp-class CS0


iptables -t mangle -A PREROUTING -p icmp -j DSCP --set-dscp-class EF

iptables -t mangle -A POSTROUTING -p icmp -j DSCP --set-dscp-class EF

iptables -t mangle -A FORWARD -p icmp -j DSCP --set-dscp-class EF


iptables -t mangle -A PREROUTING -p udp --match multiport --sport 3658:3659,3074:3075,3478:3479,9305:9308,6672 -j DSCP --set-dscp-class EF

iptables -t mangle -A PREROUTING -p udp --match multiport --dport 3658:3659,3478:3480,3074:3075,9305:9308,6672 -j DSCP --set-dscp-class EF


iptables -t mangle -A POSTROUTING -p udp --match multiport --sport 3658:3659,3478:3480,3074:3075,9305:9308,6672 -j DSCP --set-dscp-class EF

iptables -t mangle -A POSTROUTING -p udp --match multiport --dport 3658:3659,3478:3480,3074:3075,9305:9308,6672 -j DSCP --set-dscp-class CS6


iptables -t mangle -A FORWARD -p udp --match multiport --sport 3658:3659,3478:3480,3074:3075,9305:9308,6672 -j DSCP --set-dscp-class EF

iptables -t mangle -A FORWARD -p udp --match multiport --dport 3658:3659,3478:3480,3074:3075,9305:9308,6672 -j DSCP --set-dscp-class EF

---

Is it correct?

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: Best settings for gaming QoS+DSCP

Post by Lantis »

It's outside the scope of Gargoyle.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

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

Re: Best settings for gaming QoS+DSCP

Post by VanCleef »

Hello

This is what I currently use on my ps4, and I think it will work well for you too.

I also use MTU 1400, only on ps4.

Just change the ip to the same as your ps4.

If you play by cable and not in wifi like me, change POSTROUTING dport, which is CS6 to EF.


iptables -t mangle -A PREROUTING -j DSCP --set-dscp-class CS0

iptables -t mangle -A POSTROUTING -j DSCP --set-dscp-class CS0

iptables -t mangle -A PREROUTING -p icmp -j DSCP --set-dscp-class EF

iptables -t mangle -A POSTROUTING -p icmp -j DSCP --set-dscp-class EF


iptables -t mangle -A PREROUTING -p udp --sport 1024:65535 -s 192.168.1.142 -j DSCP --set-dscp-class EF

iptables -t mangle -A PREROUTING -p udp --dport 1024:65535 -d 192.168.1.142 -j DSCP --set-dscp-class EF

iptables -t mangle -A POSTROUTING -p udp --sport 1024:65535 -s 192.168.1.142 -j DSCP --set-dscp-class EF

iptables -t mangle -A POSTROUTING -p udp --dport 1024:65535 -d 192.168.1.142 -j DSCP --set-dscp-class CS6
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 »

Is 192.168.1.142 your static ip?

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

Re: Best settings for gaming QoS+DSCP

Post by VanCleef »

Yes!
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 »

How did you setup your upnp?

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

Re: Best settings for gaming QoS+DSCP

Post by VanCleef »

Nothing special,
I only enabled and set the internet speeds.
In this case port forwarding and dmz is not required.
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 »

I dont know what speed i should set to bo4 open up the 3074 port

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

Re: Best settings for gaming QoS+DSCP

Post by VanCleef »

The speeds are for information only,
It is normal that in some games do not show the open ports, but if you can enter the servers, then it is a sign that they are working.
TP-Link Archer C7 v2
Gargoyle: 1.10.0
Down: 38MB
Up: 6.5MB

Post Reply