could you send me the iptables for me to try on my connection please

1 Like

with what the script of dlakelan ? not add the iptables

Installing this script it has all the iptables you'd need in the form of the dscptag.sh script, no extra tagging is needed to get good performance with CoD or any other game which predominantly uses UDP and is played on a particular machine which is specified in the realtime set in the configs.

1 Like

alright i understand

the ports thats in the dscp script i dont use for any of my games i play cod and brawlhalla

the script prioritizes all UDP to and from the gaming machine. it doesn't need to know about individual ports.

the various ports in the DSCP tagging script are only there for the purpose of benefiting non gaming applications which still might need some improvements.

and what tag do you recommend for gaming cause i dont know if all isps support some of the tags this might sound stupid but im trying to understand

The tags are for your router only. The router removes them before sending to the ISP (unless you turn off washing the DSCP). The ISP is always free to do whatever it wants with tags, so it's really best to wash them rather than have a problem where the ISP thinks your tag means "slow this down or drop it"

ok im starting to kinda get it now lol

cause when i go in my modem the scheduling type is best effort and i think that is CS3 so i thought the limit for my isp was CS3

Normally CS0 is considered "best effort" and that's also what the script sets just before transmitting the packets to the ISP.


this is what im talking about it says best effort

yes, it just means your modem isn't giving you any extra priority over other people in your neighborhood. it means nothing really.

1 Like

ok thank you for explaining

I think I have an error, I am on OpenWrt 21.02.0 and when I want to modify the script I cannot find the WAN and lan interfaces

this screenshot clearly shows WAN = eth0, and your LAN is a br-lan bridge. If you want to use the bridge you need the veth method.

so i edited it and it works as expected

#!/bin/sh

## "atm" for old-school DSL or change to "DOCSIS" for cable modem, or
## "other" or anything else, for everything else

LINKTYPE="DOCSIS"

USEVETHDOWN=no
LANBR=br-lan

WAN=eth0 # change this to your WAN device name
UPRATE=4600 #change this to your kbps upload speed
LAN=eth1 # change to your LAN device if you don't use veth/bridge,
           # leave it alone if you use veth, it will get set in the
           # script below


DOWNRATE=58000 #change this to about 80% of your download speed (in kbps)
OH=40 # number of bytes of Overhead on your line (37 is reasonable
      # starting point, better to be too big than too small) probably
      # likely values are between 20 and 50

1 Like

is there any way to reduce rollback in fighting games i play brawlhalla and i keep hearing the sound like i hit my opponent but he doesnt take damage and im not lagging

Hello everyone I ask myself this question if I comment on the lan part, will the donwload regain its initial flow? as the script at its beginning we had this option @dlakelan

thank you

Capture d’écran 2021-05-12 à 22.59.39
Capture d’écran 2021-05-12 à 23.01.45

If you comment out the line like:

#setqdisc $LAN $DOWNRATE $GAMEDOWN $gameqdisc

then it won't install any qdisc on the LAN side and won't control the download direction.

1 Like