LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[Arma 3] Bepath for Battleye

Open AznoYT opened this issue 10 years ago • 22 comments

Hello everyone, I turn to you today because I wanted to use the EPM Rcon software to administer my server correctly, suddenly here's what I get into the rcon bepath: 39c13a421e5922943418b4bea7d2c27d but when I go into my software EPM Rcon, I get all the right information, it shows me this: aa132a4f1d426fb51306fd1c966ae064

thank you in advance for your help

AznoYT avatar Jun 22 '16 11:06 AznoYT

have you created a beserver.cfg file ?

igeighty avatar Jun 22 '16 13:06 igeighty

Yes

AznoYT avatar Jun 22 '16 13:06 AznoYT

have you specified a port in that file ?

my beserver.cfg RConPort 2301 RConPassword 123456 MaxPing 500

i have port forwarded port 2301 tcp and udp in router. beserver.cfg resides in ./serverfiles/battleye (with chmod 775) my arma3server script battleye entry is

# Path to BattlEye # leave empty for default bepath=""

igeighty avatar Jun 22 '16 13:06 igeighty

es Do I have to put any thing in bepath?

AznoYT avatar Jun 22 '16 13:06 AznoYT

i would leave bepath="" restart server and see how that goes ? i did have issues when specifying a path in that value. as long as you place beserver.cfg in /home/arma3server/serverfiles/battleye/

igeighty avatar Jun 22 '16 13:06 igeighty

it is normal that after the file is called beserver_active_xxxxxxxx.cfg ?

AznoYT avatar Jun 22 '16 13:06 AznoYT

it seems that is a security measure, the battleye client adds random letters to it as an anti-hack measure, what it does show is that battle eye is reading the file :)

when the server is stopped you can safely rename it back to beserver.cfg make any changes. and once the server starts again, you'll notice the file is then renamed to beserver_active_xxxxxxxx.cfg.

are you hosting from home or a dedicated ? as you may have to have the port forwarded ?

igeighty avatar Jun 22 '16 13:06 igeighty

My server is hosted by OVH is the game port is 2302

AznoYT avatar Jun 22 '16 13:06 AznoYT

not sure about hosted setups, sorry, i use a dedicated linux machine on my local network with ports forwarded through my router so it can be connected to from the outside, my local address for server is 192.168.1.118 and it appears in the server browser as 211.28.215.135

did OVH have to open your UDP ports 2302,2303,2304,2305 ? if they did, you will have to ask them to open 2301 (or whatever port you specify in beserver.cfg) on both TCP and UDP. battleye uses TCP and UDP as far as i can tell.. whereas arma3 server uses UDP only

igeighty avatar Jun 22 '16 13:06 igeighty

I'm on a dedicated machine OVH and my machine to unlock all ports

AznoYT avatar Jun 22 '16 13:06 AznoYT

netstat -atunp | grep arma3server

you should see similar to this (mine is local address)

udp 0 0 192.168.1.118:2301 0.0.0.0:* 5459/arma3server <-- battleye port udp 0 0 192.168.1.118:2302 0.0.0.0:* 5459/arma3server udp 0 0 192.168.1.118:2303 0.0.0.0:* 5459/arma3server udp 0 0 192.168.1.118:2304 0.0.0.0:* 5459/arma3server udp 0 0 192.168.1.118:2305 0.0.0.0:* 5459/arma3server

igeighty avatar Jun 22 '16 13:06 igeighty

I have this:

434e822f5f92b87ff95c34c0114718ce

AznoYT avatar Jun 22 '16 13:06 AznoYT

could you post your beserver.cfg (overwrite your password)

from the screen shot i am guessing that 53434 is your battleye port maybe

igeighty avatar Jun 22 '16 13:06 igeighty

http://pastebin.com/nQYP5rGi

AznoYT avatar Jun 22 '16 13:06 AznoYT

found it,

RConPassword ***** RConPort 2302 <--cant use game port :) MaxPing 350

change to RConPort 2301

igeighty avatar Jun 22 '16 13:06 igeighty

since v1.58 as per bohemia... RconPort must avoid reserved ARMA3server port range (gameport *+0,+1,+2,+3)) default reserved ports are 2302 - 2305 (to clarify the reserved ports can't be used for BattlEye's RCON). example for default server setting, RconPort 2301 https://community.bistudio.com/wiki/BattlEye#RCon

i fell into the same trap from the old way of connecting when you did indeed use the game port 2302

igeighty avatar Jun 22 '16 13:06 igeighty

I'm testing

AznoYT avatar Jun 22 '16 13:06 AznoYT

If you got an OVH "Game" series server, make sure your OVH firewall (not iptables) doesn't block those ports.

UltimateByte avatar Jun 23 '16 04:06 UltimateByte

@AznoYT did you get this sorted out ?

igeighty avatar Jun 24 '16 09:06 igeighty

it's good it works, and for information when they rent a dedicated server at OVH all ports are already open

AznoYT avatar Jun 24 '16 09:06 AznoYT