The Team Fortress 2 dedicated server is downloaded by SteamCMD (app ID 232250) and its settings live in server.cfg in the tf/cfg folder. This guide is based on the official TF2 wiki Linux and Windows server pages and summarises the ports, the GSLT token and typical startup problems. Checked 2026-11-17.
The game gets updated, so check the current documentation before changing anything. Our team sets the server up; you use the console, the file manager (browser and SFTP) and backups.
1. Requirements and ports
- UDP 27015: game traffic; TCP 27015: RCON; UDP 27020: SourceTV. The default port is 27015, changeable with -port, and -strictportbind stops the server from switching to another port if it is taken.
- The Linux page says about 8 GB of free disk, glibc 2.3.6 or newer, and 32-bit libraries on 64-bit systems.
- Max players can be up to 32 (example: 24).
- To appear in the server browser a valid Steam Game Server Token (GSLT) is required.
2. First start and configuration
- SteamCMD downloads the server with an anonymous login (app_update 232250); updating means running the same command again.
- The launch script runs srcds_run with -console -game tf, a starting map, +sv_pure 1 and +maxplayers 24. The GSLT is passed with +sv_setsteamaccount.
- In the tf/cfg folder create server.cfg: hostname, sv_password (empty = public), rcon_password, mp_timelimit, mp_maxrounds. It goes with motd.txt and mapcycle.txt.
- Map rotation is controlled by mapcycle.txt; alternative files can be selected with +servercfgfile and +mapcyclefile.
./srcds_run -console -game tf +sv_pure 1 +map ctf_2fort +maxplayers 24 +sv_setsteamaccount GSLT_TOKEN3. Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Server does not show in the browser | No valid GSLT | Generate a token on the Steam game server management page and pass it with +sv_setsteamaccount |
| Segmentation fault at startup | Missing 32-bit libraries | Install the 32-bit dependencies (the wiki gives a Debian/Ubuntu list) |
| Missing steamclient.so | The file is not in the Steam SDK folder | Copy it to ~/.steam/sdk32/ |
| replay_srv.so will not load | libcurl-gnutls is missing | Install libcurl-gnutls or copy libcurl.so.4 to bin/libcurl-gnutls.so.4 |
| SteamAPI_Init failed message | A normal message on a dedicated server | The wiki says it is safe to ignore |
| Az RCON nem csatlakozik | The IP binding is wrong | Set +ip 0.0.0.0 and rcon_address 0.0.0.0 |
| Server visible only on LAN | steam_appid.txt is missing | Create steam_appid.txt containing 232250 |
| The download/update fails repeatedly | force_install_dir is the same as the SteamCMD folder | Use a different folder; the download may need several runs before it succeeds |
4. Saves and updates
- The wiki pages mention no world save; the server setup is in the tf/cfg files (server.cfg, motd.txt, mapcycle.txt, possibly pure_server_whitelist.txt). Back these up.
- To update, run the install command again; automatic updating needs the -steam_dir and -steamcmd_script options.
5. Access and passwords
- sv_password makes the server private and rcon_password is needed for remote control. Both are in server.cfg; do not share the RCON password.
- The two official wiki pages do not cover plugins or mods, so we promise no such setup; removing +sv_pure 1 disables the pure server rules.
6. Choosing a plan
Load comes from player count (24-32 is typical) and the map. For smaller counts (the wiki example is 24 players) Start or Pro is the logical start, but the wiki gives no hardware numbers so we guarantee no performance. If you see lag, first lower the player count and read the console.



