keepcalculator

06 Numbers and Powers

How to Make a Rust Server: Step-by-Step Guide

Card No. 06·10336 · Updated · Standard formula, shown below

This guide walks you through setting up your own Rust server, whether for private play with friends or a public community. You’ll learn the entire process from installing SteamCMD to configuring your server’s settings, and you’ll get troubleshooting tips for common issues. By the end, you’ll have a fully functional Rust server ready for players to join.

What You’ll Need

  • A computer or dedicated server with at least 8GB of RAM (16GB recommended) and a decent CPU.
  • Stable internet connection with sufficient upload bandwidth (at least 10 Mbps for a small server).
  • SteamCMD, the command-line tool for downloading Steam games and server files.
  • Port forwarding access on your router (if hosting publicly).
  • Basic familiarity with command line or terminal.

Step-by-Step

  1. Install SteamCMD – Download SteamCMD from the official Valve website. On Windows, extract the zip to a folder like C:\steamcmd. On Linux, use wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz and extract with tar -xvzf steamcmd_linux.tar.gz.
  2. Run SteamCMD – Open a terminal/command prompt in the SteamCMD directory. Run steamcmd (Windows) or ./steamcmd.sh (Linux). Wait for it to update.
  3. Login anonymously – Type login anonymous and press Enter. This works for most dedicated servers.
  4. Set install directory – Type force_install_dir ./rustserver to create a folder for the server files.
  5. Download Rust server files – Type app_update 258550 validate. This downloads the latest Rust dedicated server files. Wait for completion (may take a while).
  6. Exit SteamCMD – Type quit to close SteamCMD.
  7. Locate the server executable – On Windows, go to rustserver\RustDedicated.exe. On Linux, it’s rustserver/RustDedicated.
  8. Create a startup script (optional but recommended) – Make a batch file (Windows) or shell script (Linux) with the launch parameters. Example for Windows (start.bat):
    RustDedicated.exe -batchmode +server.port 28015 +server.level "Procedural Map" +server.seed 12345 +server.maxplayers 50 +server.hostname "My Rust Server" +server.description "Welcome!" +server.url "http://yourwebsite.com" +server.headerimage "http://yourimage.com" +server.identity "my_server" +rcon.port 28016 +rcon.password "change_me" +rcon.web 1
  9. Run the server – Execute the startup script. The server will generate the world and start. Look for “Server startup complete” in the console.
  10. Port forwarding – If hosting publicly, forward TCP and UDP ports 28015 (game) and 28016 (RCON) to your server’s local IP address. Refer to your router’s manual for exact steps.
  11. Connect to your server – In Rust, press F1 to open the console and type client.connect localhost:28015 (or your public IP) to test.
  12. Configure server settings – Edit the server.cfg file in the server/my_server/cfg folder to set things like wipe schedules, decay, and other options. Restart the server after changes.

Common Mistakes

  • Forgetting to update the server – Rust updates frequently; run app_update 258550 again to get the latest version.
  • Not opening ports correctly – Ensure both TCP and UDP are forwarded, and that your firewall allows incoming connections on those ports.
  • Using the same seed for different map sizes – The seed generates a specific map; changing map size with the same seed can cause issues. Use a new seed for a new size.
  • Ignoring RCON password – Leaving the default password is a security risk. Always set a strong password.
  • Running on insufficient hardware – Low RAM or CPU can cause lag and crashes. Use at least 8GB RAM.

Tips

  • Use a solid-state drive (SSD) for faster world generation and loading.
  • Set up a scheduled task to restart the server daily to clear memory leaks.
  • Install a plugin framework like Oxide (uMod) to add plugins for admin tools, events, and more.
  • Regularly back up your server folder, especially before updates or wipes.
  • Monitor your server’s performance using tools like RCON or external monitoring services.
  • Join Rust server hosting communities to learn from others’ experiences.

Troubleshooting

  • Server won’t start – Check the console for error messages. Common causes: missing files (run validate again), wrong port (ensure port 28015 is free), or insufficient permissions (run as admin).
  • Server not appearing in the list – Ensure the server is fully started and that you’ve forwarded ports correctly. Try connecting via IP directly.
  • Players can’t connect – Check firewall settings, port forwarding, and that the server is not password-protected unless intended. Also verify your public IP is correct.
  • High ping or lag – Check your upload bandwidth, server location, and hardware usage. Reduce max players if needed.
  • Server crashes randomly – Look at the crash logs in the server folder. Often caused by mods or plugins; remove them temporarily to test.
  • World not generating – Delete the server/my_server folder and restart with a new seed.

Frequently Asked Questions

Do I need a powerful computer to run a Rust server?

Yes, Rust servers require at least 8GB RAM and a decent CPU. For more than 50 players, expect to need 16GB+ RAM and a strong multi-core processor.

Can I run a Rust server for free?

Yes, you can run it on your own hardware. There are no licensing fees for the server software itself, but you’ll need to pay for electricity and internet.

How do I update my Rust server?

Run SteamCMD again and execute app_update 258550 validate. This will download the latest updates. Restart your server after updating.

What is RCON and why do I need it?

RCON allows remote administration of your server. You can use it to execute commands, manage players, and change settings without being in-game. It’s essential for admin tasks.

Can I add mods to my Rust server?

Yes, you can install Oxide (uMod) to add plugins. Download the Oxide build for Rust, extract it to your server folder, and then place plugins in the oxide/plugins directory.

How do I wipe my server?

To wipe, delete the server/my_server folder (or just the proceduralmap folder for a map wipe). Restart the server to generate a new world. For a full wipe, also delete the player and logs folders.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →