How to make a CS 1.6 server
Your own CS 1.6 server is free. You need Valve's server program (HLDS), a few minutes and, for players from the internet, an open port.
1. Download the server with SteamCMD
Download SteamCMD from Valve's site, put it in a folder (for example C:\steamcmd) and run this in Command Prompt:
steamcmd +force_install_dir C:\hlds +login anonymous +app_set_config 90 mod cstrike +app_update 90 validate +quit
For CS 1.6 the command sometimes has to be run 2-3 times, until it says Success. You do not need a Steam account.
2. Start it
cd C:\hlds hlds.exe -console -game cstrike -port 27015 +maxplayers 20 +map de_dust2
On Linux, in the server folder: ./hlds_run -game cstrike -port 27015 +maxplayers 20 +map de_dust2.
3. Set it up
In C:\hlds\cstrike create (or open) the file server.cfg:
hostname "My CS 1.6 server" rcon_password "a-long-password" sv_password "" mp_timelimit 30 mp_roundtime 2.5 mp_freezetime 3 mp_friendlyfire 0 sv_maxupdaterate 101 sv_maxrate 100000
sv_password puts a password on the server (empty = anyone can join). The list of maps that rotate is in mapcycle.txt.
4. Open the port
At home (LAN) friends join straight from Find Servers > LAN. For the internet, set up port forwarding for UDP 27015 on your router to the PC running the server and allow hlds.exe in Windows Firewall. Friends join with connect your-IP:27015.
5. Admins and plugins
For admins, bans, map voting and modes (deathmatch, zombie) install AMX Mod X (together with Metamod). The admin commands are in CS 1.6 admin commands.
A server that is always on
A server on your home PC only runs while that PC is on. For a 24/7 server, rent a VPS or a game server from a hosting company and follow the same steps there.