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 0GSLT 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_nukeChange map in-game: rcon changelevel de_dust2
FastDL
For custom content delivery, add to server.cfg:
sv_downloadurl "https://yoursite.com/fastdl/"
sv_allowdownload 1Plugins
Install MetaMod:Source + SourceMod for admin management. Popular for surf, bhop, and jailbreak servers.
Ports
| Port | Protocol | Purpose |
|---|---|---|
| 27015 | UDP + TCP | Game + RCON |
| 27020 | UDP | SourceTV |
Related Guides
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