Talk:Server setup

Port setup is crazy in this guide... ;)
Is there a reason for opening 172 ports when all you need are exactly 3 per game instance? (technically four if you want public RCON) Seriously - each port number has both TCP and UDP, that's 2 ports per number. The ranges are usually inclusive, so that's two 9-port ranges and two 34-port ranges. Together, that's 172 ports - enough to serve a 6x7 grid (and you still have 4 ports left over!).

QueryPort and GamePort are both UDP-only. RconPort and SeamlessPort are both TCP-only.

Also, fun fact: if you don't want the entire world connecting to your RCON (Remote CONsole) and running admin on your server (you DID set an RCON password, right? right?), you don't actually want to forward the RCON port to the public Internet at all. The game will try to connect to your public IP, however, so you'll need to set up NAT reflection (aka NAT hairpinning, NAT loopback) if you want to be able to play from within the same LAN (the server IP handed out by the server browser is always your public IP). Alternatively, you may connect directly to LAN via STEAM servers view.

Don't advise people to open themselves up to unnecessary risks. It only takes one network stack bug (especially under Windows) and you've a rogue agent inside your LAN.

A 'minimal' configuration that would work would be: QueryPort 10000/UDP, GamePort 10001/UDP, SeamlessPort 10000/TCP, and RCON 10001/TCP via NAT reflection only (unless you plan to play from outside your network and want RCON access - remember to set up a password though). With this configuration, you can easily specify "10000 TCP/UDP, 10001 TCP/UDP" if you can't separate the protocols in your router (some don't offer the option - please get a better router). At the very least, advise people to only use single ports for this, and forward as required, instead of telling them to open a huge set of ports they may not even need...

I know it's easier your way, but do we really want network illiterates running game servers on the public Internet? Think, people. I know it's not easy to find this information when it's so scarce... but think about how scarce it was a year ago, and I still found it out - it's entirely possible by trial and error.

Also, does the game still require a webserver running alongside to serve the map? I've noticed no word on this in the guide.

62.21.49.42 19:13, 13 February 2020 (UTC)