Self-hosting ETS2 and ATS servers (and when renting one is worth it)
Updated: 02 October 2026 · Guide · VPS · Game server
Euro Truck Simulator 2 and American Truck Simulator share the same server program and the same configuration format. Both dedicated servers are available anonymously via SteamCMD; they hold up to eight players in one convoy.
Install
# ETS2 steamcmd +force_install_dir ~/ets2 +login anonymous +app_update 1948160 validate +quit # ATS steamcmd +force_install_dir ~/ats +login anonymous +app_update 2239530 validate +quit
The package files come from your game
The server needs to know which map expansions and mods apply in the convoy. It learns this from two files that you generate in your own game: type export_server_packages in the game console, and server_packages.sii and server_packages.dat appear in the game's Documents folder. Both go into the server's data directory. If you skip this, you start a server without DLC maps.
Settings and token
The server creates server_config.sii on first start: name, password, visibility, collisions, traffic. Without a login token the server gets a new ID on every start; with a token that you generate in Steam for the respective app, it keeps it. It is started via bin/linux_x64/eurotrucks2_server or amtrucks_server respectively.
Players open convoy mode in the game and search for the session by its name; there is no direct connection by address there. Map expansions and mods must be the same for everyone.
If the server is running but nobody finds it
“Invalid dedicated server connection port value” in the log: the port is above 49000. For connection_dedicated_port and query_dedicated_port the server accepts no values above that; for us 49000 still worked, 49001 no longer did, regardless of machine and the gap between the two ports. The server then silently falls back to random ports and keeps running, but is not reachable from outside.
“Dedicated server and query ports have the same value”: the two ports must be different.
Both values are in server_config.sii, not in the launch line. After changing them, restart and check what the server is really listening on. For us only the query port listened on UDP; game traffic is carried by Steam networking. This query port is the one you open in the firewall.
sudo ss -ulpn | grep -E 'eurotrucks2_server|amtrucks_server'
The session shows up, but maps are missing when joining: server_packages.sii and server_packages.dat are missing from the data directory or come from a game with different expansions (see above).
Keep it running permanently
Instead of tmux or screen: as a systemd service the server starts by itself after a machine reboot, and a crash leads to a restart instead of an empty server. Create the file /etc/systemd/system/ets2.service:
[Unit] Description=ETS2 Server After=network-online.target Wants=network-online.target [Service] User=<username> WorkingDirectory=/home/<username>/ets2 ExecStart=/home/<username>/ets2/bin/linux_x64/eurotrucks2_server Restart=on-failure [Install] WantedBy=multi-user.target
sudo systemctl daemon-reload sudo systemctl enable --now ets2 journalctl -u ets2 -f
For ATS, swap the folder and the program (amtrucks_server) accordingly. If the server runs without a login token, it gets a new ID on every restart via systemd; with a token it keeps it.
Measured: a fresh server without players
Freshly ordered and without players, measured on 28 September 2026 on our game server node (Xeon Gold 6138): Euro Truck Simulator 2: installation including download 81 seconds, start 11 seconds, afterwards 197 MB of RAM, 4 % of one core, 1.6 GB on disk, a full backup 1.3 GB compressed. American Truck Simulator: 66 seconds, 11 seconds, 204 MB, 4 %, 1.6 GB, backup 1.4 GB. For both, only the query port listened on UDP; game traffic is carried by Steam networking. RAM excluding file cache, CPU as a share of one core at idle.
Self-host or rent: the honest trade-off
On an ETS2 or ATS server rented from us, the server_config.sii fields are in the control panel, and at startup the server checks for updates itself. You need the package files from your game for every convoy server with DLC maps; with us too, you upload them via the file manager.
- Secure the VPS firstSSH key and firewall before the server runs
- ATS settings in the control panelAll fields with default value
- Rent an ETS2 serverConvoy server with settings in the control panel
- Rent an ATS serverThe same editor, its own product
- All settings in the panelGenerated from the control panel's source code
- Server running, but nobody can get in?Five checks and all default ports