leave the script the way it was... and change this section, by adding your ips in the list of the "for" loop
## some examples to add your gaming devices to the realtime sets,
## allows you to have more than one console etc. Just add your ips
## into the list of ips in the for loop
for ip4 in 192.168.1.111 192.168.1.222; do
ipset add realtimeset4 "$ip4"
done
for ip6 in fd01:0101::1 fd01:0101::2 ; do
ipset add realtimeset6 "$ip6"
done
Yes, that's right, but the fd32:... address is a local only address. If you have ipv6 from your ISP you should put the address it has that starts with 2... that will be the public one.
if you don't have IPv6 from your ISP don't worry about it. just leave it.
Any game that uses UDP, doesn't exceed your game rates, that you play on one of the machines you put in the ipsets should work well. Looking online it indicates that FIFA 20 for example uses UDP for game play so it should work.
I have pushed a small change to the script so that the example ipv6 addresses are public addresses in the "reserved" documentation range 2001:db8:: because there's not much reason to put your ULA addresses (fdxx:xxx type addresses).
If you don't have IPv6 from your ISP don't worry about it, if you do have IPv6 from your ISP include the public address of your gaming machines which should start with 2xxx: not with fdxx:
It looks like this script is very interesting,
at my place the internet speed is so slow that i have to subscribe to several ISPs.
With this condition I ended up doing load balancer with MWAN3 to get enough BW.
Reading from the initial post until now, according to my understanding, it looks like this script can be combined with the configuration on MWAN3, namely by separating and prioritizing game connections to one of the ISPs. Is that true?
thank you
#!/bin/sh
## "atm" for old-school DSL or change to "DOCSIS" for cable modem, or
## "other" or anything else, for everything else
LINKTYPE="DOCSIS"
WAN=eth1.2 # change this to your WAN device name
UPRATE=5000 #change this to your kbps upload speed
LAN=eth0.1
DOWNRATE=70000 #change this to about 80% of your download speed (in kbps)
## how many kbps of UDP upload and download do you need for your games
## across all gaming machines?
GAMEUP=800
GAMEDOWN=1600
the web browsing was super slow and the bufferbloat was terrible
ISP-1 sells special streaming internet packages with speeds of down = 2Mbps, Up = 2Mbps
ISP-2 sells game-specific internet packages with speeds of DL = 1Mbps, Up = 756 Kbps