WarGuardian

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

HostRequiresGames
Linuxsystemd, OpenSSL 3, and an x64 or arm64 processor. The agent brings its own runtime.Arma Reforger, Arma 3 and DayZ.
Windows64-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

  1. 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.
  2. On the Linux tab, select Copy command.
  3. Run the command on the game host.
  4. Enter the setup code when the command asks.
  5. Wait until the card shows Connected.

Install on Windows

  1. On the Windows tab, select Download installer.
  2. Run the installer as an administrator.
  3. Enter the setup code when the installer asks.
  4. 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 discover to 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

Run your community with WarGuardian

Connect one server free. Then invite your staff.