WarGuardian Agent guide
How to install the WarGuardian Agent
The WarGuardian Agent is a small program for your game host. It connects the servers on that host to WarGuardian, and the RCON port stays closed.
What the agent does
- The WarGuardian Agent runs on your game host and connects its servers to WarGuardian. It opens no inbound port.
- It reads the RCON password on the host at each login. The password never leaves the host.
- For Arma 3 and DayZ, it reads the name and Steam ID of each joining player from the server log.
The agent is source available on GitHub.
What you need
| Host | Requires | Games |
|---|---|---|
| Linux | systemd, OpenSSL 3, and an x64 or arm64 processor. The agent brings its own runtime. | Arma Reforger, Arma 3 and DayZ. |
| Windows | 64-bit Windows 10 or Windows Server 2019, or newer, and an administrator account. | Arma 3 and DayZ. |
You also need to be the owner of the community that the server belongs to. Only an owner can get a setup code.
Install on Linux
- In WarGuardian, add the server with WarGuardian Agent as its connection. For a server that you already added, select Set up WarGuardian Agent on the Servers page.
- On the Linux tab, select Copy command.
- Run the command on the game host.
- Enter the setup code when the command asks.
- Wait until the card shows Connected.
Install on Windows
- On the Windows tab, select Download installer.
- Run the installer as an administrator.
- Enter the setup code when the installer asks.
- Wait until the card shows Connected.
The installer adds a Windows service named WarGuardian Agent.
Each setup code works once and expires after 15 minutes.
Check the connection
- Connected shows the host, the operating system and the agent version.
- Not connected lists the changes that remain on the host.
- On the host, run
warguardian-agent discoverto list the game servers that the agent finds.
For a second server on the same host, get a new code and run the same command again. On Windows, run the installer again with the new code.
What the agent adds for each game
- Arma 3 and DayZ: a connection with the RCON port closed, Steam IDs for each player and Steam ban rules.
- Arma Reforger: game host control, mods, backups and updates on a Linux host. The RCON connection of Arma Reforger stays direct.
Common questions
Do I need the WarGuardian Agent?
Not for a server with a public RCON port. Moderation and server status work over a direct RCON connection.
Which ports does the agent open?
None, the agent listens on no port. It connects out to WarGuardian over HTTPS.
Can WarGuardian send any command through the agent?
No, the agent accepts no raw RCON commands. It never sends a shutdown command.
How do I remove the agent?
On Windows, uninstall WarGuardian Agent in Settings, under Apps. The staff guide lists the Linux commands and the last step in WarGuardian.
Related pages
- Arma Reforger RCON setupAdd the rcon block to config.json and connect the server.
- DayZ RCON setupSet the BattlEye RCon port and password and connect.
- Arma 3 RCON setupSet the BattlEye RCon port and password and connect.
- WARDOGS RCON setupGet the RCON endpoint from your host and connect.
- Share a ban listShare bans across your servers, or with another community by share code.
- Anti-cheat and player reviewSee BattlEye kicks, screen joining players and review unusual statistics.
- Mod managerSearch the Workshop, set the load order and save mod packs.
Run your community with WarGuardian
Connect one server free. Then invite your staff.