Extreme lag and rubberbanding on server since updating to alpha 20.4 (b42)

Hello people of the forum!

I have not started a new thread since the problem is still here.

After a break of a few months I am back to troubleshooting. Some progress has been made, but I still can not connect to the server. Please read below:

So being in a CG-NAT network I tried to find various solutions to access my network from outside.

The last one that worked to some extent was to use a free DDNS offered by the provider. Basically it is an address xxxxxx.go.ro. From outside the network you write the adress and port number and you are set to go. I opened a port to test the accesibility of my ups network card and it worked. I could turn power to the server on or off.

Next step was to test it with the server. In the serverconfig I disabled steam networking, and tethered the main pc through my cellphone so i would be outside the provider network. When I write the adress xxxxx.go.ro and the gameport the game recognises the address and accesses the right IP (session address), but there is no connection going through to the game server. Am I doing something wrong? Or is it just not possible to work it this way?

Thank you.

 
I wasn't familiar with CG-NAT so I looked up information on it's wiki and came across this gem about disadvantages of this system:  "Carrier-grade NAT usually prevents ISP customers from using port-forwarding, because the network address translation(NAT) is usually implemented by mapping ports of the NAT devices in the network to other ports in the network interface." There is more info after this sentence on the wiki. So since your ISP uses CG-NAT, it sounds like any hosting software requiring port-forwarding is not going to work for you. I guess you could try contacting the ISP directly and see if they have some kind of answer for you but it sounds like you're in a bad position. The only other option is if one of your playing partners has a different ISP and is willing to host your server.

 
I somehow fixed it, and I have no idea why it works. LiteNetLib works correctly and does not throw errors in my friend's console anymore. Also in the server console, it appears to be used for the connections without issues. When spawning 100 zombies, although my friend's pc lags badly it is because of his pc, the connection does not skip ticks anymore, and there are no sync issues.

What did I do? Nothing except forwarding two ports for my server's IP: 443 and 80. These have nothing to do with online gaming from what I know, but if it works...

 
Back
Top