01
Before you start
You need a VPS running Ubuntu 24.04 with a sudo user, and plenty of memory: map size and the number of buildings weigh heavily. The guide create a Rust server details the map, plugins and wipes; this one focuses on installation under Linux. To administer nothing, Rust hosting does all this for you.
02
Installing SteamCMD and the server
sudo add-apt-repository -y multiverse
sudo dpkg --add-architecture i386
sudo apt update && sudo apt install -y steamcmd
sudo useradd -r -m -d /opt/rust -s /bin/bash rust
sudo -iu rust
/usr/games/steamcmd +force_install_dir /opt/rust/serveur +login anonymous +app_update 258550 validate +quit
258550 is the Steam ID of the Rust dedicated server.
03
The launch line
Rust is configured through launch parameters. Write them in a script /opt/rust/serveur/lancer.sh:
#!/bin/bash
cd /opt/rust/serveur
exec ./RustDedicated -batchmode \
+server.port 28015 +server.level "Procedural Map" \
+server.seed 12345 +server.worldsize 3500 +server.maxplayers 50 \
+server.hostname "Your server name" +server.identity "principal" \
+rcon.port 28016 +rcon.password "long-password" +rcon.web 1
The seed and size (worldsize) define the map: a larger map needs more memory and a longer generation time. server.identity names the folder holding the map, saves and configuration.
04
Adding uMod (Oxide)
Almost all Rust plugins go through uMod (formerly Oxide). Download the Linux version of uMod for Rust from umod.org, and unzip it into the server folder, overwriting existing files. On the next start, an oxide folder appears: plugins go in oxide/plugins, their configuration in oxide/config.
At every Rust update, reinstall uMod after updating the server: the update overwrites its files.
05
A service that restarts by itself
chmod +x /opt/rust/serveur/lancer.sh
Then create /etc/systemd/system/rust.service:
[Unit]
Description=Serveur Rust
After=network-online.target
[Service]
User=rust
ExecStart=/opt/rust/serveur/lancer.sh
Restart=on-failure
RestartSec=15
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable --now rust
06
Ports, wipes and updates
- Game port:
sudo ufw allow 28015/udp. The RCON port (28016 in TCP) should only be open to your own address.
- Updates: Facepunch releases a mandatory update every month, on the first Thursday, with a forced map wipe. That day: stop the service, run the SteamCMD command, reinstall uMod, restart.
- Map wipe: delete the
.map and .sav files from the server/principal folder, or change the seed. Blueprints stay, unless you also delete their file.
- Backups: the
server/principal folder and oxide, copied off the VPS.
07
On a CloudFive VPS
Our Ryzen VPS runs on Ryzen 9 9950X, with DDR5 memory, NVMe storage and anti-DDoS protection included; the game-specific filter is available as an option for a public server, often targeted by attacks. The Rust plan comes ready, with scheduled wipes and uMod.
08
Frequently asked questions
What is the Steam ID of the Rust dedicated server?
258550, downloaded anonymously with SteamCMD, and updated with the same command.
Which ports should be opened for a Rust server?
Game port 28015 in UDP. RCON port 28016 in TCP should only be open to your own address.
How do I install plugins on a Linux Rust server?
With uMod (Oxide): unzip its Linux version into the server folder, then put plugins in oxide/plugins. Reinstall uMod after every Rust update.
When does Rust's forced wipe happen?
Every month, on the first Thursday, with Facepunch's mandatory update. The server must then be updated, and the map starts from scratch.