Page 3 of 15

Re: Best settings for gaming QoS+DSCP

Posted: Fri Oct 25, 2019 7:51 pm
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

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 5:33 am
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?

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 6:29 am
by Lantis
It's outside the scope of Gargoyle.

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 6:56 am
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

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 7:02 am
by SirSWE
Is 192.168.1.142 your static ip?

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 7:05 am
by VanCleef
Yes!

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 7:18 am
by SirSWE
How did you setup your upnp?

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 7:30 am
by VanCleef
Nothing special,
I only enabled and set the internet speeds.
In this case port forwarding and dmz is not required.

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 7:33 am
by SirSWE
I dont know what speed i should set to bo4 open up the 3074 port

Re: Best settings for gaming QoS+DSCP

Posted: Fri Nov 15, 2019 8:09 am
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.