Skip to content

Rust on a VPS

Rust dedicated server

Category
Game servers
Author
Facepunch Studios; installer by LinuxGSM
License
Proprietary

The script is free · VPS from $18.10 per month · installs in about 15 minutes

Install over SSH

root@vps:~# useradd -m -s /bin/bash rustserver && su - rustserver -c 'curl -Lo linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh rustserver' && cd /home/rustserver && ./rustserver install && su - rustserver -c './rustserver auto-install'

  • SystemUbuntu 24.04 · x86_64ok
  • Sourcegithub.com/GameServerManagers/LinuxGSMok
  • Port28015/udplisten
  • Port28016/tcplisten
  • Port28017/udplisten

✓ Rust installed · about 15 minutes

root@vps:~#

Install command from the library. Output is shortened and may differ on your server.

What it is

  • Rust
  • Steam
  • LinuxGSM
  • Survival

Your own Rust server: you set the map size, seed, wipes, player count and plugins. A good fit for a community or a modded server on Oxide/uMod.

The server is installed via LinuxGSM (MIT): it downloads the files via SteamCMD, installs dependencies and provides commands to start, update and back up.

Rust is memory-hungry: the bigger the map and the player count, the more RAM the server needs.

  • Configure map, seed and player count
  • RCON and Rust+ (companion app)
  • One-command updates via SteamCMD
  • Backups and auto-restart via LinuxGSM
  • Oxide/uMod plugin support

Recommended plan

For Rust: at least 5 vCPU, 10 GB RAM and 175 GB NVMe.

Minimum to run
4 vCPU · 8 GB RAM · 30 GB disk
Systems
Ubuntu 22.04 · Ubuntu 24.04 · Debian 11 · Debian 12

How to install

Three steps in the bot or one command over SSH; installation takes about 15 minutes.

  1. 01

    Choose a plan in the bot

    Open @ExpressHost_bot and pay for a VPS. The server will be ready in about 60 seconds.

  2. 02

    Add Rust

    At the “Add-ons” step pick the script from the library, or run it later: Server settings → Scripts.

  3. 03

    Start the server

    su - rustserver -c './rustserver start'

Manually over SSH

Connect to the server as root and run the command. Supported systems: Ubuntu 22.04, Ubuntu 24.04, Debian 11, Debian 12.

Install command
useradd -m -s /bin/bash rustserver && su - rustserver -c 'curl -Lo linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh rustserver' && cd /home/rustserver && ./rustserver install && su - rustserver -c './rustserver auto-install'

Ports

Rust ports
PortProtocolPurpose
28015udpGame port
28016tcpRCON
28017udpQuery port
28082tcpRust+ (companion app)

After installation

  1. 1.Start the server: su - rustserver -c './rustserver start'
  2. 2.Set the name, map size and RCON password in lgsm/config-lgsm/rustserver/rustserver.cfg
  3. 3.Server console: su - rustserver -c './rustserver console' (exit with Ctrl+B, then D)

Rust FAQ

Didn’t find an answer? Message @ExpressHost_SupportBot.

How do I update the server?

su - rustserver -c './rustserver update' — LinuxGSM checks Steam for an update and restarts the server only if there is one.

Where are the files and settings?

In /home/rustserver: game files in serverfiles, LinuxGSM settings in lgsm/config-lgsm/rustserver. ./rustserver details shows all ports and paths.

Why doesn't the server run as root?

LinuxGSM forbids running game servers as root for security, so the command creates a separate rustserver user.

Rust installs at checkout — in the bot.