← Volver al blog

How to Set Up a Rust Server on a VPS

  • Xernode
  • 1 min de lectura
  • 7 de abril de 2026
Rust linux vps game server rust steamcmd setup

Introduction

Hosting your own Rust server on a VPS lets you control your gaming experience and play with friends. This guide explains how to set up a Rust server on your VPS.

Step-by-step Guide

  1. Update your package list
    • sudo apt update
  2. Install required dependencies
    • sudo apt install -y lib32gcc-s1 wget screen
  3. Create a new user for the server
    • sudo adduser --disabled-login rustserver
  4. Switch to the new user
    • sudo su - rustserver
  5. Download and install SteamCMD
  6. Install Rust server using SteamCMD
    • ./steamcmd.sh
    • login anonymous
    • force_install_dir ~/rustserver/
    • app_update 258550 validate
    • quit
  7. Start the Rust server
    • cd ~/rustserver
    • screen -S rust ./RustDedicated -batchmode -nographics +server.port 28015 +server.level "Procedural Map" +server.seed 12345 +server.worldsize 4000 +server.maxplayers 10 +server.hostname "My Rust Server"
  8. (Optional) Open firewall ports
    • sudo ufw allow 28015/udp

Recommendations

  • Use a strong password for your VPS.
  • Regularly update your server and Rust files.
  • Backup your server data frequently.

Call To Action

Want reliable hosting for your Rust server? Check out our VPS plans: https://xernode.com/#pricing

Related Guides