Skip to content
/SLASHPLAY

How to ban an IP on a CS:S server

Type banip 0 203.0.113.50 in the server console to ban that IP permanently, then writeip to save it to banned_ip.cfg.

banip

Bans an IP address for a number of minutes, 0 for permanent.

banip <minutes> <ip>

Examples

banip 0 203.0.113.50

Permanent IP ban.

Arguments

minutesRequired
Ban length, 0 for permanent.
ipRequired
IP address.

What it does

Run writeip to save it to banned_ip.cfg.

The game's own description: Add an IP address to the ban list.

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 cstrike/cfg/server.cfg. New to this? Start a CS:S server first.

Your own
CS:S server.

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