01
What RCON is for
RCON stands for "remote console". Once connected, you type commands as in the server console: ban a player, send a message to everyone, save, reload a plugin. It is handy to moderate from another computer, without joining the game, or to connect a tool that monitors the server.
Rust has two kinds of RCON:
- web RCON (WebRCON), which uses a WebSocket connection. It is the one Facepunch's official wiki recommends, and the one current tools expect;
- the old RCON in the Source engine format, which the Rust server's built-in help marks as deprecated.
Commands sent over RCON run as in the server console, with full rights: that is what makes it handy, and also why its password must be protected.
02
Enable RCON at launch
RCON is set in the server's launch line, with the other parameters starting with a + (see server.cfg and launch parameters):
./RustDedicated -batchmode +server.port 28015 +server.identity "serveur1" +rcon.port 28016 +rcon.password "un-long-mot-de-passe-unique" +rcon.web 1
rcon.port: the port RCON listens on, over TCP. The official wiki states that it defaults to the same value as server.port (the game uses UDP, so the two do not clash); the wiki's example sets it to 28016.
rcon.password: the password. Always replace the example value.
rcon.web 1: selects web RCON.
Two more useful variables:
rcon.ip: the IP address RCON listens on, if the machine has several;
rcon.print: set to 1, commands received over RCON are shown in the server console. Handy to know who did what when several tools are connected.
Mind the query port: if it is not set, server.queryport is one more than the higher of server.port and rcon.port. On a machine you manage, the RCON port must be reachable from your address, and only from it if possible (see below and game server ports).
03
Connecting: the tools
To connect, you need the server's IP address, the RCON port and the password. Several tools exist:
- Facepunch's web console: the official wiki points to an online console published by Facepunch (
facepunch.github.io/webrcon). It notes that it is not served over HTTPS: only use it if you accept that risk.
- RustAdmin: third-party Windows software, widely used by Rust admins. In its configuration, choose the WebRcon connection type. Only download it from its official website.
- Carbon: if your server runs Carbon rather than uMod, its documentation describes a built-in web admin panel, WebControlPanel (see Carbon on a Rust server).
Other tools (Discord bots, dashboards) also connect over RCON. Before handing your password to an online service, ask yourself who runs it: it will have the same power over the server as you.
04
Secure RCON access
The RCON password is worth full owner access: anyone who gets it can ban your players, give themselves items or shut the server down. A few rules:
- A long, unique password, generated by a password manager, never reused elsewhere, and never a tutorial's example password.
- Do not share it. A moderator does not need RCON: give them the
moderatorid rank and plugin permissions instead of the password.
- Change it when an admin leaves the team, or at the slightest doubt. If it is written in the launch line, the new password applies when the server restarts.
- Never show it: watch out for screenshots, live streams and configuration files shared on Discord.
- Restrict the port: on a machine you manage, only open the RCON port to your own IP address, for example with ufw:
sudo ufw allow from 203.0.113.10 to any port 28016 proto tcp
Replace 203.0.113.10 with your public address. If you do not use RCON, do not expose it to the Internet. The full installation of a server on your own machine is described in Rust server on a VPS.
05
Common commands over RCON
Over RCON, you are in the server console: no need for the sv prefix used in game, in the F1 console. The most used commands:
say Redémarrage dans dix minutes
status
kick Pseudo "raison"
banid 76561198123456789 "Pseudo" "raison"
server.save
restart 300 "Mise à jour du serveur"
oxide.reload NomDuPlugin
say sends a message to all players;
status lists connected players;
kick and banid kick or ban;
server.save forces a save, and restart warns players then cleanly stops the server;
oxide.reload reloads a uMod plugin (c.reload under Carbon).
Commands that act on your character (teleport, noclip, god) make no sense over RCON: they are typed in game. The full list, with its pitfalls, is in Rust admin commands.
06
On CloudFive
On our Rust hosting plans, from €9.50 per month, you do not need RCON to manage the server: the console in the customer area manager.cloudfive.fr gives the same rights as the server console, from a browser, with no RCON password to pass around. Files are managed in the same place or over SFTP, and uMod (Oxide) installs from the customer area.
The server's ports, including the RCON port, are listed on the Network page of the server in the customer area. To connect an external RCON tool (RustAdmin, a Discord bot…), take the address and port from there, and ask support if the connection fails. Servers run in France on Ryzen 9 9950X, with Anti-DDoS Premium included and a Rust-specific profile, monthly with no commitment, with support in French 7 days a week. For full control over ports and the firewall, a gaming VPS is also an option.
07
Frequently asked questions
How do I enable RCON on a Rust server?
Add to the launch line +rcon.port followed by a TCP port (28016 in the official wiki's example), +rcon.password followed by a long, unique password, and +rcon.web 1 for the web RCON the official wiki recommends. Then restart the server.
What is Rust's RCON port?
The one you set with rcon.port, over TCP. The official wiki states that by default it takes the same value as server.port; the wiki's example sets it to 28016.
Which software should I use for Rust RCON?
The official wiki points to Facepunch's web console, which is not served over HTTPS. RustAdmin, third-party Windows software, is also widely used with the WebRcon connection type. Under Carbon, its documentation describes a built-in web panel.
Is Rust RCON secure?
It is protected by a single password that gives full rights. Choose it long and unique, do not share it, change it when an admin leaves, and restrict access to the RCON port to your IP address when you manage the firewall.
Can I use RCON at CloudFive?
The console in the customer area already gives the same rights as the server console, without RCON. To connect an external RCON tool, the RCON address and port are on the Network page of the server; if the connection fails, ask support.