How to Configure Your Counter-Strike: Source Server

Complete CS:Source server.cfg reference — hostname, GSLT, RCON, map rotation, and plugins.

CS:Source uses server.cfg in cstrike/cfg/ for server settings.

Key Settings

hostname "My CSS Server"
sv_password ""
rcon_password "secretpass"
sv_lan 0
sv_cheats 0
mp_autoteambalance 1
mp_timelimit 30
mp_maxrounds 0
mp_friendlyfire 0

GSLT Required

Create at Steam Game Server Management with App ID 240. Add +sv_setsteamaccount TOKEN to startup.

Map Rotation

Edit cstrike/mapcycle.txt — one map per line:

de_dust2
de_inferno
cs_office
de_nuke

Change map in-game: rcon changelevel de_dust2

FastDL

For custom content delivery, add to server.cfg:

sv_downloadurl "https://yoursite.com/fastdl/"
sv_allowdownload 1

Plugins

Install MetaMod:Source + SourceMod for admin management. Popular for surf, bhop, and jailbreak servers.

Ports

PortProtocolPurpose
27015UDP + TCPGame + RCON
27020UDPSourceTV

How is this guide?

40% Off — Limited TimeGet your Counter Strike Source server todayInstant setup, DDoS protection, and 24/7 support included.
Get a Server

On this page