Rust
How to Host a Rust Dedicated Server on Windows
Set up a free Rust (PC) dedicated server on a Windows PC: SteamCMD app 258550, a start script with ports 28015 and the query port, server.cfg, ownerid, Oxide, monthly wipes, and why Rust Console Edition has its own separate servers.

A Rust server is a good fit for a dedicated server because the world is a persistent map that players raid, build on and leave. Facepunch publishes the server as a free program that runs on Windows, Linux and macOS. Anyone who wants to join needs their own copy of Rust on Steam; the server PC does not.
Two things to know first. Rust on PC and Rust Console Edition are separate games with separate servers, so a PC server is for PC players only (crossplay section below). And Rust wipes: the wiki’s default wipe timer lines up with Facepunch’s monthly force wipe, which is a different rhythm from a game like Valheim or Palworld.
This guide follows the Facepunch Rust Wiki’s “Creating a server” page, plus the wiki’s pages on the Rust+ companion server and the server wipe timer. We have not run a Rust server on our own setup. If anything here disagrees with the wiki, trust the wiki, because Rust changes often.
Self-host or rent?
Host it yourself if you have a Windows PC with plenty of memory that can stay on while people play. Facepunch lists 12 GB of free RAM and 15 GB of disk space (an SSD or NVMe is preferred), says a 6000-size map needs more, and notes that these values are not fixed and depend on the map and the population. The server is free and you control the settings, plugins and wipe schedule.
Rent a server if no PC can stay on, your upload is weak, you are behind CGNAT, or you would rather not publish your home IP address to everyone who joins a public server. A monthly wipe and updates also mean regular upkeep, which a host can handle.
The server cost calculator compares electricity at home with a host’s price; its RAM presets are for ARK and Palworld, so treat them as a rough guide here. See also self-hosting vs paid hosting and the games hub for how Rust compares with the other servers on this site.
Install the server
Download Valve’s SteamCMD, extract it to C:\steamcmd, and run:
C:\steamcmd\steamcmd.exe +force_install_dir C:\RustServer +login anonymous +app_update 258550 validate +quit
258550 is the Steam app ID of the Rust Dedicated Server. It downloads anonymously: you do not need a Steam account with Rust to install or run the server. Run the same command whenever Rust updates. The wiki also lists beta branches (-beta staging); use them only if you want to test unreleased builds.
Write a start script
Rust takes its settings as +name value pairs on the command line. Save this as C:\RustServer\start-server.bat, and change the name and the RCON password:
cd /d C:\RustServer
RustDedicated.exe -batchmode +server.port 28015 +server.queryport 28017 +server.identity "server1" +server.level "Procedural Map" +server.seed 1234 +server.worldsize 3000 +server.maxplayers 10 +server.hostname "My Rust Server" +rcon.port 28016 +rcon.password "ChangeThisRconPassword" +rcon.web 1 -logfile rustserverlog.txt
What each part does, from the wiki:
| Setting | What it does |
|---|---|
-batchmode |
Runs the server without a graphical window |
+server.port 28015 |
The game port players use. It is UDP and 28015 is the default |
+server.queryport 28017 |
The port that lets the server list query your server. You need it for the server to appear in the in-game browser. We set it explicitly so you know which number to forward |
+server.identity "server1" |
The internal name; your save and settings live in a folder with this name |
+server.seed and +server.worldsize |
The map seed (0 to 2147483647) and size (1000 to 6000). Bigger maps need more disk and memory |
+server.maxplayers |
The player cap. A faster CPU matters as it grows |
+rcon.port, +rcon.password, +rcon.web 1 |
Remote console for admin tools. RCON is TCP. Change the password |
Double-click the script. The wiki says it takes several minutes to start fully; look for Server startup complete in the console before anyone tries to join. Allow it through Windows Firewall if asked.
Settings in server.cfg
The wiki’s advice is to put only the necessities (ports, RCON) on the command line and everything else in a server.cfg file in server\server1\cfg\ inside your install folder (server1 is your identity). It is read at startup and takes priority over the command line, you leave off the +, and the server never edits it:
server.maxplayers 10
server.hostname "My Rust Server"
Stop the server, edit the file and start it again. The wiki’s tip for finding other settings is the find command in the server console, for example find image.
Make yourself the owner
With the server running and you connected, run the users command in the server console to see your SteamID, then add yourself:
ownerid 76561198123456789 "YourName"
Replace the number with your own SteamID64. Use moderatorid the same way for moderators. You need to reconnect to get the new rank, and the wiki says the change is saved automatically. These commands can also be added to users.cfg in the identity’s cfg folder while the server is stopped.
Ports, firewall and how friends join
The Facepunch wiki says a Rust server has four ports: the server port and the query port are UDP, and the RCON and Rust+ ports are TCP. It also says that you only need the server port to connect and play; get that working first, then add the others.
| Port | Protocol | What for | Forward it? |
|---|---|---|---|
| 28015 | UDP | Game port (server.port) |
Yes |
| 28017 | UDP | Query port (server.queryport), for the server list |
Yes, to appear in the browser |
| 28016 | TCP | RCON (rcon.port) |
No, admin only |
| 28082 | TCP | Rust+ companion app (app.port) |
Only if you want Rust+; it must be 10000 or higher |
Allow the game and query ports in Windows Firewall, in PowerShell as administrator:
New-NetFirewallRule -DisplayName "Rust game UDP 28015" -Direction Inbound -Protocol UDP -LocalPort 28015 -Action Allow
New-NetFirewallRule -DisplayName "Rust query UDP 28017" -Direction Inbound -Protocol UDP -LocalPort 28017 -Action Allow
Then forward the same UDP ports on your router to the server PC’s reserved LAN address. The wiki says to give the server a static LAN address and to avoid the “both” or “all” protocol option in your router. Port Forwarding for Game Servers walks through the router rule, how to detect CGNAT and how to test a UDP port properly. If you host behind a port-forwarding VPN with a port cap, this game uses two ports for play.
Joining: start Rust on Steam, press F1 to open the console on the main menu, and type connect your.public.ip:28015. On the server PC itself, connect localhost:28015 works. The server listens on all addresses by default, so your public IP reaches it once the port is forwarded.
Plugins, updates and wipes
Oxide (uMod): the wiki’s optional step for plugin support is to download Oxide for Windows from uMod and extract it over your server files. Oxide has to be reinstalled after every Rust server update, and a SteamCMD update in your start script puts the files back to vanilla. That is the main upkeep cost of a plugin server.
Updates: run the SteamCMD command above before starting the server whenever Rust updates. The wiki’s own example of a restart loop runs SteamCMD each time, and warns that this keeps your files vanilla, so Oxide would need reinstalling.
Wipes: the wiki’s default wipe timer for a monthly server is the first Thursday of the month at 19:00 London time, aligned with Facepunch’s force wipes. Weekly (every Thursday) and biweekly schedules exist too. Plan to back up before each update.
Backups: stop the server and copy the identity folder (server\server1) to another drive. The backup and restore guide shows the stop, copy and restore routine for other games.
Crossplay: who can join?
- PC players on Steam: yes. Everyone needs a copy of Rust and the same game version as the server.
- PS5 and Xbox players: no. Rust Console Edition is a separate game, developed and published by Double Eleven, for PS5 and Xbox Series X|S. Its own FAQ says it has official and community servers run on hosting services, and its community-server documentation says it allows crossplay between those two consoles and not with the PC game.
So a console friend cannot join a PC server you host, and a PC player cannot join a Console Edition server. Pick one edition for the group.
Common problems
Players cannot find the server in the list. The server list needs the query port. Check UDP 28017 (or the port you set with +server.queryport) is forwarded and allowed. They can still connect directly with connect ip:28015 once the game port works.
The server is slow to start. The wiki says it takes several minutes; wait for Server startup complete.
After a Rust update nobody can connect, or the map is gone. Update the server with SteamCMD. The wiki’s default wipe timer for a monthly server lines up with Facepunch’s force wipes, on the first Thursday of the month.
Rust+ does not work. The companion port must be 10000 or higher, and the wiki says the only requirement for most people is making that TCP port reachable from the internet. Only forward it if you want the phone app; app.info in the server console shows the port in use.
FAQ
Is the Rust dedicated server free? Yes. It is a free Steam tool (app 258550) that downloads anonymously with SteamCMD.
Which ports does a Rust server need? UDP 28015 for the game, plus the query port (28017 in our script) so it shows in the server list. RCON (TCP 28016) and Rust+ (TCP 28082) are optional and stay closed unless you need them.
How much RAM does a Rust server need? Facepunch lists 12 GB of free RAM and says a 6000-size map needs more.
Can PS5 and Xbox players join my PC server? No. Rust Console Edition is a separate game with separate servers.
How often does Rust wipe? The default timer for a monthly server is the first Thursday of the month at 19:00 London time, which lines up with Facepunch’s force wipes.
DIY Game Hosting is an unofficial fan site. It is not affiliated with Facepunch Studios, Double Eleven or Valve. Game names and trademarks belong to their owners. Also hosting ARK or Palworld? Our free Windows server managers handle those.