How to limit RCON login attempts in Half-Life 2: Deathmatch
Add sv_rcon_maxfailures 5 to hl2mp/cfg/server.cfg; an address is banned after five failed RCON logins.
sv_rcon_maxfailures
Sets how many failed RCON logins an address gets in total before it is banned. 10 by default, 1 to 20.
sv_rcon_maxfailures <count> Examples
sv_rcon_maxfailures 5 Ban after five failures.
Arguments
countRequired- Failed logins allowed, 1 to 20.
What it does
Lower it to lock out password guessing sooner.
Good to know
- To keep it after a restart, add
sv_rcon_maxfailures 5tohl2mp/cfg/server.cfgin the file manager (Advanced, then Files).
Run it on your server
On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to hl2mp/cfg/server.cfg. New to this? Start a HL2DM server first.
Your own
HL2DM server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.