Skip to content
/SLASHPLAY

How to ban failed RCON logins in L4D2

Add sv_rcon_banpenalty 60 to left4dead2/cfg/server.cfg; an address that fails RCON logins too often is then banned for an hour.

sv_rcon_banpenalty

Minutes an address is banned after failing RCON logins too often. 0 by default.

sv_rcon_banpenalty <minutes>

Examples

sv_rcon_banpenalty 60

One hour.

Arguments

minutesRequired
Ban length in minutes.

What it does

Works with sv_rcon_maxfailures and sv_rcon_minfailures to slow down password guessing.

Good to know

  • Typed in the Console tab it lasts until the server restarts. To keep it, add sv_rcon_banpenalty 60 to left4dead2/cfg/server.cfg, which the server runs at every map load.

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 left4dead2/cfg/server.cfg. New to this? Start a L4D2 server first.

Your own
L4D2 server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.