Run it on your own PC, put it on a VDS you control, or rent a panel server and skip the setup. This guide covers all three, with the exact install steps, start parameters and ports.
7 sections below. Jump straight to the one you need.
Every Rust server runs the same software: Facepunch's Rust Dedicated Server , Steam app ID 258550. What changes is where it runs and who looks after i…
Jump to sectionRust is one of the heavier games to host. The server loads the whole map into memory and simulates every entity on it, so RAM is the first thing that…
Jump to sectionSteamCMD is Valve's command-line Steam client. It downloads and updates the server files, and you will run the same command again after every force wi…
Jump to sectionRust does not read a config file on first launch. Almost everything is passed as +convar value parameters on the command line, and the server writes t…
Jump to sectionPlayers cannot join a server they cannot reach. On a home PC that means port forwarding on your router and allowing the ports through Windows Firewall…
Jump to sectionWith the server running, join it from the Rust client console with client.connect YOUR.IP:28015 , or find it in the Community tab of the server browse…
Jump to sectionOn your own PC the server is free, but the PC has to stay on, and a public server on a home line usually ends with the first DDoS attack. Renting work…
Jump to sectionEvery Rust server runs the same software: Facepunch's Rust Dedicated Server, Steam app ID 258550. What changes is where it runs and who looks after it.
Testing with mates: your PC. Public server you want people to stay on: panel hosting. Several servers, heavy mods, or you want root: VDS or dedicated.
Rust is one of the heavier games to host. The server loads the whole map into memory and simulates every entity on it, so RAM is the first thing that runs out.
SteamCMD is Valve's command-line Steam client. It downloads and updates the server files, and you will run the same command again after every force wipe to update.
C:\steamcmd on Windows or ~/steamcmd on Linux.steamcmd +login anonymous +force_install_dir C:\rustserver +app_update 258550 validate +quit
On Linux use ./steamcmd.sh and a path such as /home/rust/server. The download is several gigabytes, so give it a few minutes. When it finishes you will have RustDedicated.exe (Windows) or RustDedicated (Linux) in the install folder.
To update later, run exactly the same command. SteamCMD only downloads what changed.
Rust does not read a config file on first launch. Almost everything is passed as +convar value parameters on the command line, and the server writes them to server.cfg inside the identity folder when you run server.writecfg. Create a batch file (Windows) or shell script (Linux) in the install folder with this, and adjust the values:
RustDedicated.exe -batchmode -nographics ^
+server.port 28015 ^
+server.queryport 28017 ^
+rcon.port 28016 ^
+rcon.password "change-this" ^
+rcon.web 1 ^
+app.port 28082 ^
+server.identity "myserver" ^
+server.level "Procedural Map" ^
+server.seed 1234 ^
+server.worldsize 3500 ^
+server.maxplayers 50 ^
+server.hostname "My Rust Server | Biweekly | Vanilla" ^
+server.description "Wipes every other Thursday at 19:00 UK." ^
+server.url "https://example.com" ^
+server.headerimage "https://example.com/header.jpg" ^
+server.saveinterval 600
Line by line, the ones that matter:
server.identity names the folder your save, config and player data go in. Change it per server if you run more than one.server.seed and server.worldsize decide the map. Browse seeds on RustMaps before you commit. Size 3500 is a comfortable map for up to 100 players; 4500 is the default and gets heavy.server.maxplayers defaults to 500, which nobody wants. Set it to what your RAM can carry.rcon.password is the password for remote admin tools. Make it long and keep it private.app.port is the Rust+ companion app port. Leave it out and Rust+ will not pair.server.hostname, server.description, server.url and server.headerimage are what players see in the server browser. The header image should be a 512 x 256 JPG or PNG hosted somewhere public.On Linux replace the ^ line continuations with \ and the executable with ./RustDedicated. The first launch generates the map, which takes a few minutes on a large world. You will know the server is ready when the console prints the Server startup complete line.
Players cannot join a server they cannot reach. On a home PC that means port forwarding on your router and allowing the ports through Windows Firewall. On a VDS it means the provider's firewall plus the OS firewall.
| Port | Protocol | Used for |
|---|---|---|
| 28015 | UDP | Game traffic. Players connect here. |
| 28016 | TCP | RCON. Only open it if you use a remote admin tool, and never without a strong password. |
| 28017 | UDP | Steam query. Lets the server browser see player counts. |
| 28082 | TCP | Rust+ companion app. |
Those are the defaults from the start line above; if you change a port there, change it here. On panel hosting none of this applies: the ports are allocated and opened for you, and the server is behind the network's DDoS filtering from the first boot.
With the server running, join it from the Rust client console with client.connect YOUR.IP:28015, or find it in the Community tab of the server browser once Steam has picked it up.
Make yourself admin from the server console (not the in-game one) with your 17-digit SteamID64:
ownerid 76561198000000000 "YourName" "owner"
server.writecfg
The server.writecfg line saves it to users.cfg so it survives a restart. Reconnect and you have admin. The full list of what you can do from there is in the Rust admin commands guide.
For mods, you will want Oxide (uMod) or Carbon. Both are a drop-in install on a self-hosted server and a one-click install on the panel; the Rust server plugins guide covers both routes and the plugins worth starting with.
On your own PC the server is free, but the PC has to stay on, and a public server on a home line usually ends with the first DDoS attack. Renting works out as follows at RSH, and most of the market lands in the same bands:
Rust itself charges nothing to run a server. The cost is the hardware, the bandwidth and the DDoS protection, and the price difference between hosts is mostly about how much of each you are actually getting.
Yes. Install Rust Dedicated Server with SteamCMD, create a start script, and forward UDP 28015 and 28017 on your router. It works well for a private game with friends; for a public server a home connection is usually too slow and too easy to knock offline.
8 GB is the minimum for a small vanilla map. 16 GB is the realistic figure for a 3500 to 4000 size map with plugins and 50 to 100 players, and high-population modded servers want 24 to 32 GB.
The server software is free from Facepunch. What costs money is a machine to run it on 24/7, bandwidth and DDoS protection, which is why most owners rent. RSH panel plans start at £7.50 a month.
Run the same SteamCMD command you installed with, including app_update 258550. On panel hosting the update is a button, or runs automatically before a scheduled wipe.
UDP 28015 for the game, UDP 28017 for Steam queries, TCP 28016 for RCON and TCP 28082 for the Rust+ app, assuming the default start line. All of them are set by the +server.port, +server.queryport, +rcon.port and +app.port parameters.
From the server console, run ownerid followed by your SteamID64, a name and a reason, then server.writecfg to save it. Reconnect and you will have admin. The full breakdown is in our admin commands guide.
Panel hosting if you want one server up quickly with wipes, plugins and updates handled from a browser. A VDS if you want root access, several servers on one machine, or to run software the panel does not offer.
Panel plans from £7.50 a month with one-click Oxide or Carbon, wipe scheduling and DDoS protection. See the full Rust server hosting lineup.