WarGuardian

DayZ setup guide Beta

How to set up BattlEye RCon on a DayZ server

DayZ servers use BattlEye RCon for remote administration. You set a port and a password in one BattlEye file, open the port and connect an admin panel.

Before you start

  • A DayZ dedicated server with BattlEye turned on, 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

The settings belong in the BattlEye folder of the server, next to the BattlEye server library. The -BEpath and -profiles start parameters can move that folder.

Stop the server, then create or open BEServer_x64.cfg in that folder. On Linux, the file name is in lower case: beserver_x64.cfg.

RConPassword ChangeThisPassword
RConPort 2310
  • RConPassword is the password of the RCon connection. Use a long password that you use nowhere else.
  • RConPort is a UDP port. It must differ from the game port and the other ports that the game uses.
  • Do not set RConIP to 127.0.0.1 for a direct connection. With that line, only the same machine can connect.

While the server runs, BattlEye can rename the file and add “active” to its name. Stop the server before you edit the file.

BattlEye server configuration on the BattlEye website

DayZ server configuration on the Bohemia Interactive wiki

Open the RCON port

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

A DayZ server answers RCon only after its mission has loaded. Wait until the server has finished starting before you test.

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 DayZ 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 UDP RCON port and the RCON password. The A2S query port is optional.
  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?

BattlEye RCon does not answer

Check that the server has finished starting and that the RCON port is open for UDP. Remove an RConIP 127.0.0.1 line, or use the WarGuardian Agent.

I entered the game port or the query port

Enter the RConPort value from the BattlEye file. The game port and the Steam query port do not answer RCon.

The server rejects the password

Copy the RConPassword value from the BattlEye file again. It is not the admin password of the game.

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 DayZ RCON panel page shows what you can manage: live players, chat, BattlEye kicks and bans.

Run your DayZ community with WarGuardian

Connect one server free. Then invite your staff.