WarGuardian

Rust setup guide Beta

How to set up RCON on a Rust server

Rust has RCON built in, as WebRCON. You set a port and a password, open one TCP port and connect an admin panel.

Before you start

  • A Rust dedicated server that you are authorized to administer.
  • Access to the server files, or to the RCON settings in the panel of your host.
  • The public IPv4 address of the server.

Set the RCON port and password

Rust reads its RCON settings from the launch line of the server or from server.cfg.

Add these parameters to the launch line:

+rcon.web 1
+rcon.port 28016

Put the password in server.cfg, in the folder server/<identity>/cfg:

rcon.password "ChangeThisPassword"
  • rcon.web 1 turns on WebRCON, the RCON type that WarGuardian uses.
  • rcon.port is a TCP port that differs from the game port. Many servers use 28016.
  • rcon.password is the password of the RCON connection. Use a long password that you use nowhere else.
  • A value in the launch line wins at each start. Set each value in one place only.

Creating a server on the Facepunch wiki

Open the RCON port

  1. Allow incoming TCP traffic to the RCON port in the firewall of the machine.
  2. If the server is behind a router, forward the same TCP port to the machine.
  3. Start the server again.

On a rented server, the host usually sets the RCON port and password in its own panel. Copy them from there.

You can also keep the port closed. The WarGuardian Agent runs on the game host and connects out to WarGuardian.

Connect the server to WarGuardian

  1. Open community setup. Go to WarGuardian setup and sign in.
  2. Choose the game. Choose Rust and enter a server name.
  3. Choose the connection. Choose Direct for an open RCON port, or WarGuardian Agent for a closed one.
  4. Enter the RCON connection. For a direct connection, enter the RCON IPv4 address, the TCP RCON port and the RCON password.
  5. Test and confirm. A failed test names the setting to change. Save the server after the test passes.

What if the RCON connection fails?

RCON does not answer

Check that the server has finished starting and that the RCON port is open for TCP. Check that rcon.web is 1.

I entered the game port or the query port

Enter the rcon.port value. The game port and the query port do not answer RCON.

The server rejects the password

Copy the rcon.password value again, from the launch line or from server.cfg.

WarGuardian refuses the address

WarGuardian connects from the internet, so it needs a public IPv4 address. For a private or local address, use the WarGuardian Agent.

After the first connection

The Rust RCON panel page shows what you can manage: live players, chat, bans, restarts, wipes and plugins.

For a rented server, add the SFTP or FTP login of your host under Game host. WarGuardian then offers config, plugin and wipe tools.

Run your Rust community with WarGuardian

Connect one server free. Then invite your staff.