This article summarises setting up a Natural Selection 2 dedicated server. The official wiki page was not reachable when we checked, so we used the FireDaemon knowledge base, old official Unknown Worlds forum threads and the LinuxGSM default settings. Our team sets the server up; you reach the live console, the file manager (browser and SFTP), backups and the database from the client area. Checked 2026-11-17.
Some of these sources are old (the forum has been read-only since 2021 and the FireDaemon article is from 2016), so parameters and file formats may have changed. Where a detail is uncertain we say so.
1. Requirements and ports
The server program can be downloaded with SteamCMD using an anonymous login and app id 4940. According to the forum thread, app id 4920 (the game) needs a Steam account that owns NS2, while the dedicated server id is 4940. The sources give no RAM/CPU requirements, and we did not invent any.
- Game port: 27015 (UDP); set with the -port switch.
- Query port (for example for server browsers and HLSW-style tools): 27016, that is the server port + 1.
- TCP is only needed for the built-in web admin (port 8080 in the thread); if you do not use it, it need not be open.
- The LinuxGSM default start line also uses a mod server port (-modserverport 27031 with -startmodserver). Our sources do not explain its role, so our team sets the firewall.
2. First start and configuration
- The server runs with start parameters: -name (name), -map (start map), -port (27015 by default), -limit (player limit), -speclimit (spectators), -ip (the machine's address, not 127.0.0.1).
- The configuration files are JSON and are created on the first start; FireDaemon advises running for a few minutes, stopping, and only then editing.
- With -config_path, -modstorage and -logdir you can move configuration, mods and logs out of the user profile into a folder of your choice.
- Web admin: enabled with -webadmin, -webuser and -webpassword; omit all three to disable it. Use a strong password.
- When troubleshooting, the -verbose and -logdir switches give more detailed logs (advice from the forum thread); the live console also shows the server's messages.
-name 'NEV' -port 27015 -map ns2_summit -limit 20 -speclimit 5 -config_path 'config' -logdir 'logs' -modstorage 'Workshop'3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Client shows 'waiting for server', then times out | Missing game file (game_setup.xml missing in the log), wrong app id, or file permissions | Check that game_setup.xml exists in the ns2 folder; the server app id is 4940; fix permissions and run a file validation |
| A szerver bejegyzett, de nem lehet csatlakozni | 27015 UDP is not open, or -port is not the game port | Ask our team to check the firewall; in the thread TCP was not needed (it is only for web admin) |
| Same 'waiting for server' symptom, a mod is missing | A Workshop mod is no longer available | Remove the missing mod from the -mods list; the same symptom occurred for this reason in the thread |
| Server behaves oddly, settings have no effect | Invalid JSON in a config file (missing brace or comma) | Validate the file with a JSON checker and only then restart |
| Admin commands do not work | ServerAdmin.json is missing, malformed, or the Steam ID is wrong | Convert an old STEAM_0:n:x ID to a number with 2x + n; create the file manually if it is not generated |
| You kicked the wrong player | The player numbers from sv_status change often | Check the ID again right before issuing the command |
| The server does not stop cleanly when its Windows service is stopped | The server ignores the graceful shutdown | The FireDaemon article says to disable Graceful Shutdown; our team handles this |
4. Saves and updates
NS2 is match-based, so the configuration is what matters: ServerConfig.json, ServerAdmin.json, BannedPlayers.json and the mods folder. Their default location is the user profile (on Windows the AppData Natural Selection 2 config folder); -config_path can move it. Back these files up before an update; backup and restore are available in the client area. The FireDaemon article suggested running the update about weekly (with the server stopped).
5. Mods and admin access
- Mods: the -mods parameter takes the Steam Workshop ID in hexadecimal (example: 706d242 instead of 117887554), several mods separated by spaces.
- Admin: ServerAdmin.json has two main objects, groups and users; a group's type is allowed (whitelist) or disallowed (blacklist), and a user has an ID and a list of groups.
- For moderation: sv_kick, sv_ban, sv_unban, sv_listbans; for maps sv_changemap; for the password sv_password.
6. Choosing a plan
The LinuxGSM default is 20 players and 5 spectators; the FireDaemon example uses 24 players. The sources give no RAM/CPU numbers, so we promise nothing specific. Load comes from player count and Workshop mods; for a smaller community server Start can be the starting point, and with larger player counts and more mods Pro or Max is safer. We do not guarantee performance.



