
Host a Euro Truck Simulator 2 Dedicated Server
Travel across Europe as king of the road, a trucker who delivers important cargo across impressive distances! Host multiplayer convoy servers with dozens of cities to explore. Supports AI traffic, speed limiters, player damage, and mod configurations.
Hardware Requirements
Here's what you need to run a Euro Truck Simulator 2 dedicated server.
Economy
Small convoy, up to 8 players
Standard
Medium convoy, up to 32 players with AI traffic
Pro
Large convoy, 64+ players with full AI traffic
Start hosting from your own computer
Run a Euro Truck Simulator 2 server on your desktop, laptop, VPS, or dedicated machine — GameCP automates Docker setup, resource allocation, and Euro Truck Simulator 2 configuration instantly. Automatic port forwarding means your friends can connect without touching your router. Start local, scale to a VPS when you're ready.
Setup in 4 Steps
Skip the manual SteamCMD installation, port forwarding, and systemd configuration. Install on your own computer and start hosting instantly.
The Manual Way vs. GameCP
Manual Setup
- ✗Install SteamCMD manually
- ✗Configure 2+ firewall ports and router settings
- ✗Write systemd service files
- ✗SSH into server to edit configs
- ✗Requires a VPS or dedicated server
- ✗30-60 minutes if experienced
With GameCP
- One-click SteamCMD install
- Automatic port forwarding — no router config
- Host from your own PC, VPS, or dedicated server
- Docker container with auto-restart
- Visual config editor in browser
- Under 5 minutes total
Under the Hood
The full manual process to host a Euro Truck Simulator 2 dedicated server on a VPS. Or install GameCP on your own computer and skip all of this.
Configure & Prepare
Set your server settings, then install Docker, SteamCMD, and pull the Euro Truck Simulator 2 container image.
# Update system and install Docker
sudo apt update && sudo apt install -y docker.io
sudo systemctl enable --now docker
# Create game server directory
sudo mkdir -p /opt/gameserver
# Install SteamCMD
sudo mkdir -p /opt/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | sudo tar zxvf - -C /opt/steamcmd
# Server configuration
export LOBBY_NAME="${SERVER_NAME}"
export MAX_PLAYERS="8"
export SHOW_SERVER="true"
export FRIENDS_ONLY="false"
export PLAYER_DAMAGE="true"
export TRAFFIC="true"
export FORCE_SPEED_LIMITER="false"
export NAME_TAGS="true"
export HIDE_COLLIDING="true"
export MAX_VEHICLES_TOTAL="100"
export MAX_AI_VEHICLES_PLAYER="50"
export MAX_AI_VEHICLES_PLAYER_SPAWN="50"
export MODS_OPTIONING="false"
export AUTO_UPDATE="1"
# Pull the container image
docker pull ghcr.io/ptero-eggs/steamcmd:debianInstall Server Files via SteamCMD
Download the Euro Truck Simulator 2 dedicated server using Steam App ID 1948160.
# Download Euro Truck Simulator 2 server files (App ID: 1948160) /opt/steamcmd/steamcmd.sh \ +force_install_dir /opt/gameserver \ +login anonymous \ +app_update 1948160 validate \ +quit
Open Firewall Ports
Euro Truck Simulator 2 requires 2 ports to be open for game traffic and queries.
sudo ufw allow 27015/both sudo ufw allow 27016/udp
Launch the Server
Start the Euro Truck Simulator 2 server using the configuration from Step 1.
Create the startup script
# Create the startup script
cat > /opt/gameserver/start.sh << 'EOF'
CONFIG_DIR=".local/share/Euro Truck Simulator 2"
mkdir -p ""
# Generate server_config.sii with current env vars
cat > "/server_config.sii" << CONFIGEOF
SiiNunit
{
server_config : _nameless.54e.4440 {
lobby_name: ""
description: ""
welcome_message: ""
password: ""
max_players: 8
max_vehicles_total: 100
max_ai_vehicles_player: 50
max_ai_vehicles_player_spawn: 50_SPAWN}
connection_virtual_port: 100
query_virtual_port: 101
connection_dedicated_port: 27015
query_dedicated_port: 27016
server_logon_token: ""
player_damage: true
traffic: true
hide_in_company: false
hide_colliding: true
force_speed_limiter: false
mods_optioning: false
timezones: 0
service_no_collision: false
in_menu_ghosting: false
name_tags: true
friends_only: false
show_server: true
moderator_list: 0
}
}
CONFIGEOF
echo 'Config generated.'
# Download server_packages.sii if missing
PACKAGE_FILE="/server_packages.sii"
if [ ! -f "" ]; then
echo 'Downloading default server_packages.sii...'
curl -sSL -o "" https://raw.githubusercontent.com/ptero-eggs/game-eggs/main/truck-simulator/euro-truck-simulator2/ets2-files/server_packages.sii
fi
# Download server_packages.dat if missing
DATA_FILE="/server_packages.dat"
if [ ! -f "" ]; then
echo 'Downloading default server_packages.dat...'
curl -sSL -o "" https://raw.githubusercontent.com/ptero-eggs/game-eggs/main/truck-simulator/euro-truck-simulator2/ets2-files/server_packages.dat
fi
./bin/linux_x64/eurotrucks2_server
EOF
chmod +x /opt/gameserver/start.shRun the container
docker run -d \
--name euro-truck-simulator-2-server \
-p 27015:27015/both \
-p 27016:27016/udp \
-e LOBBY_NAME="${SERVER_NAME}" \
-e MAX_PLAYERS="8" \
-e SHOW_SERVER="true" \
-e FRIENDS_ONLY="false" \
-e PLAYER_DAMAGE="true" \
-e TRAFFIC="true" \
-e FORCE_SPEED_LIMITER="false" \
-e NAME_TAGS="true" \
-e HIDE_COLLIDING="true" \
-e MAX_VEHICLES_TOTAL="100" \
-e MAX_AI_VEHICLES_PLAYER="50" \
-e MAX_AI_VEHICLES_PLAYER_SPAWN="50" \
-e MODS_OPTIONING="false" \
-e AUTO_UPDATE="1" \
-v /opt/gameserver:/opt/gameserver \
-w /opt/gameserver \
ghcr.io/ptero-eggs/steamcmd:debian \
./start.shOr skip all of this
GameCP automates every step above: Docker, SteamCMD, port forwarding, startup, and config. Install on your own PC and deploy a Euro Truck Simulator 2 server in under 5 minutes.
Deploy with GameCPMore Hosting Guides
Explore step-by-step setup guides for other popular games supported by GameCP.
Ready to Host Your Euro Truck Simulator 2 Server?
Install GameCP on your own computer and start hosting in minutes. Automatic port forwarding, zero config — your friends connect instantly.
No credit card required · Free tier available · Install local, scale later