How To Set Up A RUST Dedicated Server [Windows OR Linux]
Last updated: May 14, 2022
If you need a lot of power for your private RUST server then shared game server hosting may not be what you need.
The companies I have written about on the home page offer excellent value for money for their ready-to-go RUST server hosting but they do have a few downsides.
Downsides include that you need to share the machine’s resources with other game servers although a good company will restrict the effect each customer has on the others.
If you don’t mind spending the money or you have a server spare that you can use then the following guide I have written should be of great use to you.
Before we start, make sure that your target machine that will be running your dedicated RUST server has the needed specs:
- RAM: RUST servers are memory heavy, make sure that you have an 8GB minimum of memory allocated
- CPU: To ensure that your machine can keep up with fast-paced raids on bases, have ample CPU resources available on your server
- HDD: Ideally you will want a solid-state hard drive to keep up with the pace of players on your server
- Router: you will need to be able to open ports on your router for your RUST server to speak to the outside world (ports 28015 and 28016)
- Steam: A Steam account that owns a copy of RUST
Setting Up A RUST Server (Windows)
If you have a Microsoft Windows VPS or spare computer lying around then you can easily create a dedicated RUST server. Either strap a mouse and keyboard to the machine with a monitor or Remote Desktop your way in to complete these simple steps.
1. Set up a folder for your RUST server to live in
This first step is easy, create a folder on your target machine for the server to live.
I usually create a folder on my desktop so that it’s easy to find, though you can put it anywhere on a hard drive that has ample room for the server to unpack and grow over time.
Be sure that the storage device that you are basing your server on has at least 10GB of free space, ideally a lot more just in case.
2. Download SteamCMD
You need to now download and unzip the SteamCMD tool provided by the developers. Be sure to unzip it and move it to the folder you created in step 1.
Once unzipped into the right folder, run the steamcmd.exe program to start the download and updating of SteamCMD.
With SteamCMD updated the window that is open will ask you what to do next in the form of Steam> appearing on a line waiting for your response.
3. Install the RUST dedicated server files
Your SteamCMD window should now be waiting for your response from step 2. Run the following commands 1 line at a time to start the process that will download and install the latest RUST server to your target folder:
4. Launching and configuring your new RUST server
With the files for your RUST server now sat in your desired folder you need a way to launch it using the options you choose.
To do this you need a batch script, essentially a simple text document that your computer interprets as a series of commands to complete a task.
It isn’t hard to make this and I just use the Notepad that’s built into Windows to complete this. Create a text document with the name start_rust_server.bat:
C:\MyRUSTServerFolder\steamcmd.exe +login anonymous +force_install_dir C:\MyRUSTServerFolder +app_update 258550 +quit
Be sure to replace the file directories with the appropriate targets on your own machine.
Setting Up A RUST Server (Linux)
Setting up a RUST dedicated server on Linux is pretty much the same as setting it up on Windows, the biggest difference being the shell script instead of a batch script to launch it.
You need to complete the above steps but from a Linux point of view. Once you have your target folder you need to download and install SteamCMD for Linux, instructions for that are here.
Create the batch script, well, shell script
Create a shell script with the name start_rust_server.sh for example and enter the following commands
clear while : do
exec ./RustDedicated -batchmode -nographics \
-server.ip IPAddressHere \
-server.port 28015 \
-rcon.ip IPAddressHere \
-rcon.port 28016 \
-rcon.password "rcon password here" \
-server.maxplayers 75 \
-server.hostname "My Custom Server Name" \
-server.identity "my_server_identity" \
-server.level "Procedural Map" \
-server.seed 12345 \
-server.worldsize 3000 \
-server.saveinterval 300 \-server.globalchat true \
-server.description "Description Here" \
-server.headerimage "512x256px JPG/PNG headerimage link here" \
-server.url "Your Website Here"
echo "\nRestarting server...\n" done
Don’t forget to change the lines to represent the local files and folders and change the settings to achieve your ideal dedicated RUST server environment.
Then to run that shell script you need to send the command chmod u+x start_rust_server.sh through SSH.
If you have created the server successfully then it should appear in the RUST server list in-game.
Thanks to these guys for inspiration in creating this condensed guide on how to set up your own dedicated RUST server.