Home Cloud Serevrs Set Up a Rust Dedicated Server on a Windows VPS

Set Up a Rust Dedicated Server on a Windows VPS

Last updated on Feb 13, 2025

Hosting a Rust dedicated server on a Windows VPS allows you to run a persistent, customizable multiplayer world. This guide will walk you through installing, configuring, and optimizing a Rust server on your Windows Server VPS.


📌 Prerequisites

  • A Windows Server VPS (2016, 2019, or 2022) from VolticHost

  • Administrator access

  • At least 8GB RAM (16GB+ recommended for larger servers)

  • SteamCMD installed (for downloading and updating Rust server files)

  • Ports 28015 (UDP), 28016 (TCP), and 28082 (TCP) open in the firewall


1️⃣ Install and Set Up SteamCMD

  1. Download SteamCMD from:
    👉 https://developer.valvesoftware.com/wiki/SteamCMD

  2. Extract steamcmd.zip to C:\steamcmd.

  3. Open Command Prompt (Admin) and navigate to the SteamCMD folder:

    cd C:\steamcmd
    
    
  4. Run SteamCMD:

    steamcmd.exe
    
    
  5. Log in as an anonymous user:

    login anonymous
    
    
  6. Set the installation directory for Rust:

    force_install_dir C:\RustServer
    
    
  7. Download the Rust server files:

    app_update 258550 validate
    
    
  8. Once complete, exit SteamCMD:

    quit
    
    

Rust server files are now installed!


2️⃣ Configure the Rust Server

  1. Open File Explorer and navigate to:

    C:\RustServer
    
    
  2. Right-click inside the folder, select NewText Document.

  3. Name the file start_server.bat and open it in Notepad.

  4. Paste the following script:

    @echo off
    cd /d C:\RustServer
    RustDedicated.exe -batchmode -nographics ^
    +server.port 28015 ^
    +server.identity "my_server" ^
    +server.seed 12345 ^
    +server.worldsize 4000 ^
    +server.hostname "YourRustServer" ^
    +server.maxplayers 50 ^
    +server.saveinterval 300 ^
    +rcon.port 28016 ^
    +rcon.password "YourRconPassword"
    
    
  5. Replace YourRustServer and YourRconPassword with your custom settings.

  6. Save and close the file.

Your Rust server is now configured!


3️⃣ Open Rust Server Ports in Windows Firewall

  1. Open Windows Defender Firewall (Win + R, type wf.msc, press Enter).

  2. Click Advanced SettingsInbound RulesNew Rule.

  3. Select Port, then click Next.

  4. Choose UDP, enter 28015, then click Next.

  5. Select Allow the connection, then click Next again.

  6. Apply to Domain, Private, and Public networks.

  7. Name the rule Rust Server UDP Port and click Finish.

Repeat the process for TCP Ports 28016 and 28082.

Your Rust server is now accessible online!


4️⃣ Start the Rust Server

  1. Open Command Prompt (Admin).

  2. Navigate to the Rust server folder:

    cd C:\RustServer
    
    
  3. Run the server using the batch script:

    start_server.bat
    
    
  4. Keep the window open while the server is running.

Your Rust server is now online!


5️⃣ Connect to Your Rust Server

Find Your Public IP

To share your server with others, find your VPS public IP address:

ipconfig

Join the Server from Rust Client

  1. Open Rust.

  2. Press F1 to open the console.

  3. Enter:

    client.connect your-vps-ip:28015
    
    
  4. Press Enter to join.

Players can now join your Rust server!


6️⃣ Automate Server Startup (Optional)

To start the server automatically when Windows boots:

  1. Open Task Scheduler (Win + R, type taskschd.msc, press Enter).

  2. Click Create Basic Task (right panel).

  3. Name it Start Rust Server → Click Next.

  4. Select When the computer starts → Click Next.

  5. Select Start a program → Click Next.

  6. Browse to start_server.bat inside C:\RustServer.

  7. Click Finish.

Your Rust server will now start automatically on reboot!


🎉 Conclusion

You've successfully set up a Rust dedicated server on a Windows VPS! Your multiplayer survival world is now online, ready for friends and players. 🚀

For more assistance, contact VolticHost Support.