Useful links:
- Official guide to ATS Dedicated Server: https://modding.scssoft.com/wiki/Documentation/Tools/Dedicated_Server
- American Truck Simulator at Steam
- (unofficial) ATS Dedicated Server at SteamDB
- Install a suitable Linux distribution (Ubuntu 24.04 LTS headless was tested for this guide)
- Note: This guide assumes that you know how to install and operate a secure linux server.
- Install SteamCMD (see the official guide)
- run as some sudo-user:
sudo apt update && sudo apt upgrade -y(Optional: These should be configured when you install steamcmd)
sudo add-apt-repository multiverse; sudo dpkg --add-architecture i386; sudo apt update- install needed dependency for ARS Dedicated Server
sudo apt install libatomic1sudo -u steam -s && cd ~- run as
steamuser:
mkdir -p /home/steam/Steam && cd /home/steam/Steam./steamcmd.sh +login anonymous +app_update 2239530 validate +quit- the first startup of the server will create necessary config files:
cd ~/Steam/steamapps/common/American\ Truck\ Simulator \ Dedicated\ Server/bin/linux_x64/ && ./server_launch.shNote: all config files can be found in: ~/.local/share/American Truck Simulator
-
You need to copy the config files
server_packages.datandserver_packages.siifrom your local game into the folder~/.local/share/American Truck Simulatorof the server. See this guide for more details. -
Adjust the main config file to your needs:
nano ~/.local/share/American\ Truck\ Simulator/server_config.sii- start the server:
cd ~/Steam/steamapps/common/American\ Truck\ Simulator \ Dedicated\ Server/bin/linux_x64/ && ./server_launch.sh- run as
steamuser:
sudo -u steam -s/home/steam/Steam/steamcmd.sh +login anonymous +app_update 2239530 validate +quitsudo ufw allow 27015
sudo ufw allow 27016
sudo ufw reloadsudo nano /etc/systemd/system/ats.service- copy the following snippet into the new file:
[Unit]
Description=American Truck Simulator Dedicated Server
After=network-online.target
Wants=network-online.target
[Service]
User=steam
Group=steam
Environment=HOME=/home/steam
Environment=USER=steam
WorkingDirectory=/home/steam/Steam/steamapps/common/American Truck Simulator Dedicated Server/bin/linux_x64
ExecStart="/home/steam/Steam/steamapps/common/American Truck Simulator Dedicated Server/bin/linux_x64/server_launch.sh"
KillSignal=SIGINT
TimeoutStopSec=30
Restart=on-failure
RestartSec=5
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target- enable and start the service:
sudo systemctl enable ats
sudo systemctl daemon-reload
sudo systemctl start ats
sudo systemctl status atsCopyright (c) 2025 Paul Schulze. This project is licensed under the MIT LICENSE