How to Set Up an Enshrouded Dedicated Server on Linux
Enshrouded is a popular co-op survival action RPG. The dedicated server runs reliably on Linux using Wine64. This guide walks you through setting it up on Ubuntu 22.04 / 24.04.
1. Prerequisites & Wine Installation
Update your server and install Wine64 and required tools:
sudo apt update && sudo apt upgrade -y
sudo apt install -y wine64 winetricks curl wget tar xvfb lib32gcc-s12. Create User & Download SteamCMD
sudo useradd -m -s /bin/bash steam
sudo su - steam
mkdir ~/steamcmd && cd ~/steamcmd
curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -3. Download Enshrouded Dedicated Server
Use SteamCMD to download the Enshrouded Dedicated Server files (App ID 2278520):
~/steamcmd/steamcmd.sh +force_install_dir /home/steam/enshrouded +login anonymous +app_update 2278520 validate +quit4. Configuration
Start the server once using Wine to generate the JSON configuration file:
cd /home/steam/enshrouded
wine64 enshrouded_server.exe &
sleep 15
killall enshrouded_server.exeEdit enshrouded_server.json:
nano enshrouded_server.jsonConfigure your server details:
{
"name": "My Ryzehosting Enshrouded Server",
"password": "MySecretPassword",
"saveDirectory": "./savegame",
"logDirectory": "./logs",
"ip": "0.0.0.0",
"gamePort": 15636,
"queryPort": 15637,
"slotCount": 16
}5. Systemd Service Setup
Exit back to root (exit) and create the systemd unit file:
sudo nano /etc/systemd/system/enshrouded.servicePaste:
[Unit]
Description=Enshrouded Dedicated Server
After=network.target
[Service]
Type=simple
User=steam
WorkingDirectory=/home/steam/enshrouded
ExecStart=/usr/bin/wine64 /home/steam/enshrouded/enshrouded_server.exe
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.targetEnable and start the service:
sudo systemctl daemon-reload
sudo systemctl enable enshrouded
sudo systemctl start enshrouded6. Firewall Configuration
Allow the game and query ports in UFW:
sudo ufw allow 15636/udp
sudo ufw allow 15637/udpReady for your own game server?
Launch your own gaming project on our high-performance KVM VPS with maximum AMD Ryzen single-core power, ultra-fast NVMe storage, and real Layer 3/4/7 DDoS protection (PletX & SmartNet). 100% prepaid with no contract lock-in.