How To Make Your Rust Server Private

Note:

There are several ways to make your Rust server private. You only need to use one of the methods below depending on what works best for you:

– Using a Steam Group (no plugins required)
– Installing the Whitelist plugin
– Installing the Authentication plugin

-> Using Steam Group

Note

This method restricts access to players who are members of a specific Steam group. It’s the simplest way to make your server private without installing mods.

1. Log In to Your Steam Account


2. Create a New Group

Make sure the ‘Public Group’ option is not selected.

Select the ‘Create’ button.

Steam page create new group with fields outlined

3. Add Players to Your Group

Select the ‘Manage Group Members’ tab. Enter the name or Steam Friend ID in the field.

You can only add people who are already on your Steam friends list to your group.

If you don’t know the users Steam ID, check out our How to Find a Rust User’s SteamID.

Steam page add friends field manage group memebers outlined

4. Get your Steam Group’s ID

Go to your Steam group page.

Copy the URL from the browser’s address bar and add this at the end /memberslistxml/?xml=1

Example
https://steamcommunity.com/groups/MyRustServerName/memberslistxml/?xml=1

Replace MyRustServerName with your actual group name.

You will get a new page with xml info, you have to copy the group ID

steam group id xml format

5. Go to ‘Files’ Tab

Cybrancee panel showing the Rust startup page with the Files tab outlined

6. Locate the ‘cfg’ Folder

This folder is located at /home/container/server/rust/cfg.

Cybrancee panel Rust server directory showing the cfg folder outlined

7. Create a New ‘server.cfg’ File

If you already have a ‘server.cfg’ file, you can skip Steps 8 and 9 and go directly to Step 10.

Cybrancee panel Rust server files tab showing the create new file button outlined

8. Select the ‘Create File’ Button at the Bottom


9. Enter the Name ‘server.cfg’

Enter the file name in the ‘File Name’ field as ‘server.cfg’.

Select the ‘Create File’ button.

Cybrancee panel Rust server files tab with create new file and enter file name buttons outlined

10. Edit the ‘server.cfg’ File

Cybrancee panel Rust server directory showing the server.cfg file outlined

11. Add the Steam Group

Add this command on a new line, replacing <steam group id> with the ID you copied in Step 4.

server.steamgroup <steam group id>


12. Select the ‘Save Content’ Button


13. Restart Your Server

-> Using the Whitelist Plugin

1. Download the Plugin

Download the “whitelist” plugin from the Umod official website.


2. Log In to Your Panel


3. Select the ‘Files’ Tab

Cybrancee panel showing the Rust startup page with the Files tab outlined

4. Locate the ‘plugins’ Folder

You can find the folder in  /home/container/oxide/plugins.


5. Upload Your Plugin

Upload the whitelist.cs file you downloaded in Step 1.

After uploading, you should see the .cs file in the folder.

cybrancee panel Rust server plugins tab with upload plugin button outlined

6. Restart Your Server


7. Select the ‘Console’ Tab

Cybrancee panel showing the Rust startup page with console tab outlined

8. Allow Users to Your Whitelist

Type the following command in the console field to add users to your whitelist. Replace <user or group> and <name or SteamID> with the user’s group/name or SteamID to allow access to your Rust server.

oxide.grant <user or group> <name or steam id> whitelist.allow

For example: oxide.grant John 76561198169700922 whitelist.allow

To remove users from your whitelist, use this command:

oxide.revoke <user or group> <name or steam id> whitelist.allow

If you don’t know the user Steam ID, check out our How to Find a Rust User’s SteamID.

cybrancee panel Rust startup page with console tab and console field outlined

-> Using the Authentication plugin

1. Download the Plugin

Download the “Authentication” plugin from the Umod official website.


2. Log In to Your Panel


3. Select the ‘Files’ Tab

Cybrancee panel showing the Rust startup page with the Files tab outlined

4. Locate the ‘plugins’ Folder

You can find the folder in  /home/container/oxide/plugins.

Cybrancee panel Rust server directory outlined

5. Upload Your Plugin

Upload the whitelist .cs file you downloaded in Step 1.

After uploading, you should see the .cs file in the folder.

Cybrancee Panel Rust Server Plugins Tab with Upload Plugin Button Outlined

6. Restart Your Server


7. Select the ‘Console’ Tab

Cybrancee panel showing the Rust startup page with console tab outlined

8. Set the Password

Enter this command in the server console field. Replace [new password] with your password.

auth password [new password]

The first time a player tries to join, they’ll be prompted to enter the password in the in-game chat with this command /auth [password].

cybrancee panel Rust startup page with console tab and console field outlined

Rust Server Hosting

Starts at $11.99

External link icon

Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents
Error Details*
Cancel