0%
Loading...
NolimitHost

How to Setup a Rust Server on Windows VPS

Last updated: April 15, 2026

This guide shows you how to set up a Rust server on a Windows VPS in just a few steps. A VPS (Virtual Private Server) is a rented cloud computer that you have full control over — if you're self-hosting instead of using the NolimitHost Game Panel, this is the way to do it. You'll download SteamCMD, install the server, configure the firewall, and start playing.

Step 1: Create Your Server Folder

This folder will hold all of your server files.

  1. Open File Explorer and go to C:\ drive
  2. Right-click → NewFolder
  3. Name it rust-server

Step 2: Download SteamCMD

SteamCMD is Valve's tool for downloading game servers from Steam.

  1. Go to: https://steamcmd.net/s/steamcmd.zip
  2. Save the file to C:\rust-server

Step 3: Extract SteamCMD

  1. In C:\rust-server, right-click steamcmd.zip
  2. Click Extract All...
  3. Click Extract

Step 4: Download Rust Server

  1. Press Windows Key + R, type cmd, press Enter — this opens the Command Prompt
  2. Copy and paste: cd /d C:\rust-server and press Enter — this switches to your server folder
  3. Type: steamcmd.exe and press Enter — this starts SteamCMD
  4. Type: login anonymous and press Enter — this logs in without needing a Steam account
  5. Type: app_update 258550 validate and press Enter — 258550 is the Steam App ID for the Rust dedicated server; validate checks that the downloaded files are complete
  6. Wait for download to complete (4-5 GB, takes 10-30 minutes)
  7. Type: quit

Step 5: Create Start File

A batch file (.bat) is a text file of commands that Windows runs when you double-click it. This one will start your server with your chosen settings.

  1. In C:\rust-server, right-click → NewText Document
  2. Name it start.bat
  3. Right-click → Edit
  4. Copy and paste this:
@echo off cd /d "%~dp0" RustDedicated.exe -batchmode ^ -nographics ^ -logfile "%cd%\logs.txt" ^ +server.port 28015 ^ +server.queryport 28016 ^ +server.hostname "My Rust Server" ^ +server.identity "my_server" ^ +server.maxplayers 100 ^ +rcon.port 28017 ^ +rcon.password "YourPassword123" ^ +server.worldsize 3500 ^ +server.seed 12345 pause
  1. Save the file (Ctrl+S)

Change these values:

  • server.hostname - Your server name
  • server.maxplayers - Max players (50-100)
  • rcon.password - Admin password
Note: If you edit start.bat later while the server is already running, close the server window first, make your edits, then run start.bat again. Otherwise the running server may overwrite your changes.

Step 6: Open Firewall Ports

Windows Firewall needs to allow players and admin tools to reach your server. The ports you'll open are: 28015 for the game, 28016 for server queries (the server browser), and 28017 for RCON admin connections.

For UDP Ports (28015, 28016):

  1. Press Windows Key, search for "Windows Defender Firewall"
  2. Click "Windows Defender Firewall"
  3. Click "Advanced Settings" (left side)
  4. Click "Inbound Rules" (left side)
  5. Click "New Rule" (right side)
  6. Select "Port"
  7. Click "Next"
  8. Select "UDP"
  9. Select "Specific local ports" and type: 28015,28016
  10. Click "Next"
  11. Select "Allow the connection"
  12. Click "Next"
  13. Check all three boxes (Domain, Private, Public)
  14. Click "Next"
  15. Name: "Rust Server"
  16. Click "Finish"

For TCP Port (28017 RCON):

  1. In Inbound Rules, click "New Rule" again
  2. Select "Port""Next"
  3. Select "TCP"
  4. Type: 28017
  5. Click "Next"
  6. Select "Allow the connection"
  7. Click "Next"
  8. Check all three boxes
  9. Click "Next"
  10. Name: "Rust RCON"
  11. Click "Finish"
💡 Tip: Some VPS providers (like AWS, DigitalOcean, or OVH) have an extra firewall in their own control panel. If players can't connect, check there too.

Step 7: Start Your Server

  1. Go to C:\rust-server
  2. Double-click start.bat
  3. Wait for: Server startup complete

Done! Your server is running and ready for players. Keep the command window open — closing it stops the server.

💡 Tip: Players connect from Rust using the F1 console: press F1 and type client.connect YOUR_SERVER_IP:28015 (replace YOUR_SERVER_IP with your VPS's public IP, which you can find in your VPS provider's control panel).