Page MenuHomeFeedback Tracker

DayZ RCON
Assigned, NormalPublic

Description

When hosting multiple servers on one machine, we cannot use the same rcon port with different IPs, even if we define it in the BattlEye config.

Server 1:

RConPassword 123456789
Rconport 2305
RestrictRCon 0
RconIP 193.25.252.10

Server 2:

RConPassword 123456789
Rconport 2305
RestrictRCon 0
RconIP 193.25.252.20

If we use the same RCON port, one of them works and the other one doesn't, or both don't work. However, this does not happen with the Game Port and Steam Query port.

We can set up 193.25.252.10:27016 and 193.25.252.20:27016 on the same machine without any problems. It will allow it.

Is this a BattlEye bug, or is it supposed to be like this? Because, as I mentioned, the Game Port and Query Port can be the same with different IPs set at the command line.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Operating System Version
Windows Server 2022 Standard
Category
Dedicated Server
Steps To Reproduce

When hosting multiple servers on one machine, we cannot use the same rcon port with different IPs, even if we define it in the BattlEye config.

Additional Information

Windows Server 2022 Standard

Event Timeline

Sm0ky created this task.May 29 2024, 12:11 AM

This is by design. Each server instance needs its own RCON port.

PS if you are new to server hosting check out OmegaManager - it will make your life a lot easier

PS if you are new to server hosting check out OmegaManager - it will make your life a lot easier

Wouldn't be so bad if OM didn't take 30minutes to actually start up on a system restart.

Geez closed this task as Resolved.May 29 2024, 10:21 AM
Geez claimed this task.

This is by design. Each server instance needs its own RCON port.

Why can I use the same Query and Game port, but not the RCON port?

Just because you can doesn't mean that you should.
You also have to consider security.
various differences, and reasonings for those differences.
You could find the solutions to the questions you ask if you simply went searching for the answers about ports, udp, tcp, ssl, tls, and etc. In fact, chat gpt will effectively answer most of these such questions and thus help you with understanding these things.

Is there a reason you can't bring yourself to change and configure new ports for a second instance?

@DeGrinchy I think his issue is that he can't assign the same RCon port to an instance bound to a different IP. In terms of how IPv4 works, using the same port on a different IP address should absolutely be possible. If RCon doesn't allow for that, then it's a bug or limitation with how RCon is implemented and/or configured, and worth reporting to the developers (or Battleye).

@DeGrinchy I think his issue is that he can't assign the same RCon port to an instance bound to a different IP. In terms of how IPv4 works, using the same port on a different IP address should absolutely be possible. If RCon doesn't allow for that, then it's a bug or limitation with how RCon is implemented and/or configured, and worth reporting to the developers (or Battleye).

We use a Failover IP for DayZ servers to preserve the primary IP of our host machines. After check, the RCon is inaccessible on the primary IP (starting with 5.9.XXX.XXX) when the RConIP is set to the Failover IP.

@Sm0ky problem comes from elsewhere. I was personally convinced it was related to BattlEye.

@Geez, can you please mark it as "not solved"?

I have 2 IPv4 addresses assigned to my Windows Server because I don't need 2 physical machines. I have a 7950X, so I can divide the server through IPs.

We can set up 193.25.252.10:27016 and 193.25.252.20:27016 on the same machine without any problems. It will allow it.

One DayZ server has the command line -ip 193.25.252.10, and the other has -ip 193.25.252.20.

The game ports 2302 and 2302 are used for both IPV4 addresses. The Steam Query is 27016. They all work correctly.

There's no reason why RCON wouldn't work. It's either a DayZ bug or a BattlEye bug.

https://www.battleye.com/support/documentation/

It's mentioned here that we can define the IP address. I already did it for both servers, but they don't work if the same rcon port is used, even with the IPs being different.

So one IP needs to have 2305 and the other one, for example, 2405.

Can you please take a look at this?

Geez added a comment.May 30 2024, 10:00 AM

@Geez, can you please mark it as "not solved"?

I have 2 IPv4 addresses assigned to my Windows Server because I don't need 2 physical machines. I have a 7950X, so I can divide the server through IPs.

We can set up 193.25.252.10:27016 and 193.25.252.20:27016 on the same machine without any problems. It will allow it.

One DayZ server has the command line -ip 193.25.252.10, and the other has -ip 193.25.252.20.

The game ports 2302 and 2302 are used for both IPV4 addresses. The Steam Query is 27016. They all work correctly.

There's no reason why RCON wouldn't work. It's either a DayZ bug or a BattlEye bug.

https://www.battleye.com/support/documentation/

It's mentioned here that we can define the IP address. I already did it for both servers, but they don't work if the same rcon port is used, even with the IPs being different.

So one IP needs to have 2305 and the other one, for example, 2405.

Can you please take a look at this?

Have you tried to contact BattlEye about this? https://www.battleye.com/contact/

Sm0ky added a comment.May 30 2024, 4:27 PM

@Geez, can you please mark it as "not solved"?

I have 2 IPv4 addresses assigned to my Windows Server because I don't need 2 physical machines. I have a 7950X, so I can divide the server through IPs.

We can set up 193.25.252.10:27016 and 193.25.252.20:27016 on the same machine without any problems. It will allow it.

One DayZ server has the command line -ip 193.25.252.10, and the other has -ip 193.25.252.20.

The game ports 2302 and 2302 are used for both IPV4 addresses. The Steam Query is 27016. They all work correctly.

There's no reason why RCON wouldn't work. It's either a DayZ bug or a BattlEye bug.

https://www.battleye.com/support/documentation/

It's mentioned here that we can define the IP address. I already did it for both servers, but they don't work if the same rcon port is used, even with the IPs being different.

So one IP needs to have 2305 and the other one, for example, 2405.

Can you please take a look at this?

Have you tried to contact BattlEye about this? https://www.battleye.com/contact/

They advised reaching out to the DayZ developers about this bug, so please forward this bug to the DayZ team.

Geez reopened this task as Assigned.May 31 2024, 9:33 AM
Geez added a comment.May 31 2024, 4:56 PM

Hello Sm0ky.
Maybe something else uses the port already? Could you try using a different one (like 1xxxx) and see if anything changes?

Sm0ky added a comment.May 31 2024, 9:14 PM

Hello Sm0ky.
Maybe something else uses the port already? Could you try using a different one (like 1xxxx) and see if anything changes?

Server 1:

RConPassword 123456789
Rconport 2305
RestrictRCon 0
RconIP 193.25.252.10

Server 2:

RConPassword 123456789
Rconport 2305
RestrictRCon 0
RconIP 193.25.252.20

Changing IP doesn't help. Only changing the RCON port. That doesn't make sense.

Server 1 has 193.25.252.10 2302 game port and 27016 query port
Server 2 has 193.25.252.20 2302 game port and 27016 query port

They work! Game port and Steam query. There's no conflict...

but... if rcon has the same port... they don't work.

Even forcing the IP through the BattlEye config...

DayZ starts and shows that it's using the defined IP address, but no one can connect to rcon

Geez added a comment.Jun 3 2024, 7:04 PM

Rconport 2305

We meant to say you should change this and do another test. Use e.g. 12305 for both and test again

Sm0ky added a comment.Jun 28 2024, 8:12 PM

Rconport 2305

We meant to say you should change this and do another test. Use e.g. 12305 for both and test again

It doesn't help. Why would a higher port change anything?

Geez added a comment.Jul 1 2024, 7:00 PM

Rconport 2305

We meant to say you should change this and do another test. Use e.g. 12305 for both and test again

It doesn't help. Why would a higher port change anything?

The point was to make sure the port is not taken by anything else.

Sm0ky added a comment.Jul 2 2024, 1:13 PM

Rconport 2305

We meant to say you should change this and do another test. Use e.g. 12305 for both and test again

It doesn't help. Why would a higher port change anything?

The point was to make sure the port is not taken by anything else.

The problem is still ongoing. Have the DayZ developers said anything about it?

We also have this problem.