Steam Logo

System Requirements

As a rule of thumb having between 6 -8GB of RAM allocated to each server you wish to run is a good baseline for a Rust Server.

Example:

https://i.imgur.com/terLS5W.png

These two servers are both modded. They both have players 60 and 12 respectively. The more players and entities will slowly bring the usage of the server up.

SteamCMD

SteamCMD is the command line version of the Steam Client – this allows you to install and update Dedicated Server files using batch files.

First create a folder on your machine for SteamCMD, you will only need one copy per machine and not a copy per server.

Next you need to download SteamCMD and extract to the folder you just created.

Next you need to create an update batch file which you will use each time you wish to update your server. For help on creating a batch file head over to our Creating a Batch File article.

C:\<THE LOCATION YOU MADE THE FOLDER IN>\steamcmd.exe +login anonymous +force_install_dir "C:\<THE LOCATION YOU WANT YOUR SERVER IN>" +app_update 258550 validate  +quit

+login anonymous – Some games require ownership to be able to download the dedicated server files. Rust does not.

+force_install_dir – This is the directory it will install the server to

+app_update 258550 – This is the application ID for Rust Dedicated Server

validate – This parameter will verify any damaged or missing files on your installation

NOTE: If you are using Oxide and you verify files this will overwrite the Oxide files.

Save this file as something like update.bat ensuring you save as all files and not a .txt. Run the file to install the server.

Batch File

There are multiple ways to run your Rust Server process the most common way is using batch files.

Just like with the update.bat we will now need to create a new one for running the server.

I’d suggest saving it as Run_RD.bat and when you finish this guide you can simply run this .bat file to run the server.

@echo off
cls
:start
RustDedicated.exe -nographics -batchmode -silent-crashes +server.ip "<SERVERIP>" +server.identity "<SERVERIDENTITY>" +server.port 28015 +rcon.port 28016 +rcon.password "<PASSWORD>" -logfile "ServerLog.txt" +rcon.web true -logfile "output.txt"
goto start

This needs to run in the same directory as your installation for the dedicated server files. Right next to the RustDedicated.exe file.

You will need to replace anything surrouded by triangular <brackets> with your relevant information.

The Batch file should only contain information that doesn’t change. for things that regularly change such as server seed or hostname we will be using a Server.cfg

Port Forwarding

So you’ve made it this far, now you need to open the ports on your Router to allow the traffic to connect to your server. Not every router lets you port forward especially ISP provided ones.

There are usually only a few steps to port forwarding:

  • Log in to Router
  • Find the Forwarding Section
  • Add 28015 (UDP) & 28016 (TCP) & 28083 (TCP)
  • Allow traffic to these ports

As we stated 28015/28016 are the default ports for Rust and the app port is ALWAYS RCON PORT + 63 – but if you’ve set them differently in the batch we just made you’ll need to use the ones set in there.

A very good tool for finding out how to port forward can be found here

Server.cfg

Now if you run you batch file it’ll create the /server directory and set up some files for you. You can close the service and we can continue to setup a new file called Server.cfg

I find its good practice to put all the things that regularly change in this file this will stop us accidently incorrectly changing the .bat we use to run the server so we’ll still be going online even when there is an issue.

fps.limit 60
server.maxplayers 200
server.hostname "Your Server Name"
server.seed 1707214758
server.worldsize 3500
server.description "Description for your server"
server.headerimage "https://image.com/image.png"
server.url "http://yourwebsite.com/"
server.salt 312847891789139

save your file as server.cfg and put it in the /cfg directory the server will automatically read from here when it boots.

And thats the basics of setting up a Rust Server on Windows.

Please Check our other articles if you wish to go further with things like: