Exclusive Metin2 game shield on FreeBSD: Automatic siege mode, VIP list, and whitelist from your dashboard. See how it works
Create a server

Guide

How to Set Up a Rust Game Server on a VPS

Rust Dedicated Server installs via SteamCMD. You need solid RAM/CPU and open UDP ports for players.

Steps

  1. Install deps and SteamCMD (Ubuntu 64-bit example):

    sudo apt update
    sudo apt install -y lib32gcc-s1 curl
    sudo useradd -m -r -s /bin/bash rustserver
    sudo mkdir -p /opt/steamcmd /opt/rust && sudo chown -R rustserver:rustserver /opt/steamcmd /opt/rust
  2. Download SteamCMD and the dedicated server (app 258550):

    sudo -u rustserver bash -c 'cd /opt/steamcmd && curl -sqL "https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz" | tar zxvf -'
    sudo -u rustserver /opt/steamcmd/steamcmd.sh +force_install_dir /opt/rust +login anonymous +app_update 258550 validate +quit
  3. Start with a basic command (tune identity, port and rcon):

    sudo -u rustserver bash -c 'cd /opt/rust && ./RustDedicated -batchmode +server.port 28015 +server.identity myrust +rcon.port 28016 +rcon.password CHANGE_ME'
  4. Open the usual UDP/TCP ports in UFW:

    sudo ufw allow 28015/udp
    sudo ufw allow 28016/tcp

Tips

  • Rust is RAM-hungry — start with headroom and watch htop.
  • Keep the rcon password out of shell history.

ext step

VPS sized for Rust: Browse game servers.

Related guides