27015/UDPInsurgency servers require specific ports for proper operation:
| Port | Protocol | Purpose | Required |
|---|---|---|---|
| 27015 (configurable) | UDP | Game port | Yes |
| 27015 (same as game port) | UDP | Query/RCON port | Yes |
| 27005 | UDP | Client port | No |
| 26900 | UDP | Steam master server updater | No |
| 27020 | UDP | SourceTV port (if enabled) | No |
UFW (Ubuntu/Debian):
sudo ufw allow 27015/udp comment 'Insurgency Game/Query Port'
sudo ufw allow 27020/udp comment 'Insurgency SourceTV'
sudo ufw allow 26900/udp comment 'Steam Master Server'
FirewallD (CentOS/RHEL):
sudo firewall-cmd --permanent --add-port=27015/udp
sudo firewall-cmd --permanent --add-port=27020/udp
sudo firewall-cmd --permanent --add-port=26900/udp
sudo firewall-cmd --reload
iptables:
iptables -A INPUT -p udp --dport 27015 -j ACCEPT
iptables -A INPUT -p udp --dport 27020 -j ACCEPT
iptables -A INPUT -p udp --dport 26900 -j ACCEPT
sudo apt update
sudo apt install lib32gcc1 steamcmd # Debian/Ubuntu
# OR for manual install:
mkdir ~/steamcmd && cd ~/steamcmd
wget https://steamcdn-a.akamaihd.net/client/installer/steamcmd_linux.tar.gz
tar -xvzf steamcmd_linux.tar.gz./steamcmd.sh
login anonymous
force_install_dir ./insurgency-server
app_update 222880 validate
quit# Insurgency mod files should be placed in:
# insurgency-server/insurgency/
# Download mod content from official sourcesC:\steamcmd\steamcmd.exe and execute:
login anonymous
force_install_dir C:\insurgency-server
app_update 222880 validate
quitCreate or edit insurgency/cfg/server.cfg:
// Server Identity
hostname "Tactical Insurgency Server"
sv_password "" // Leave blank for public server
// Server Rates
sv_minrate 10000
sv_maxrate 30000
sv_minupdaterate 20
sv_maxupdaterate 66
sv_mincmdrate 20
sv_maxcmdrate 66
// Server Region (see Region Codes)
sv_region 1 // 1 = East Coast USA
// Server Visibility
sv_lan 0 // 0 for internet, 1 for LAN only
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
// RCON (Remote Console)
rcon_password "your_secure_password"
sv_rcon_banpenalty 0
sv_rcon_maxfailures 5
// Contact & Tags
sv_contact "admin@example.com"
sv_tags "tactical,realistic,teamwork"
// Insurgency-Specific Settings
mp_timelimit 30 // Time limit per map (minutes)
mp_roundtime 5 // Round time limit (minutes)
mp_winlimit 0 // Rounds to win (0 = disabled)
// Friendly Fire
mp_friendlyfire 1 // 1 = enabled (realistic mode)
mp_tkpunish 0 // TK punishment
// Team Settings
mp_autoteambalance 1
mp_limitteams 1
// Gameplay
ins_bot_quota 0 // Number of bots (0 = none)
ins_bot_difficulty 2 // Bot skill (0-4, 2 = medium)
// Voice Chat
sv_alltalk 0 // 0 = team only, 1 = everyone
sv_voiceenable 1
// Download Settings
sv_allowdownload 1
sv_allowupload 1
sv_downloadurl "" // FastDL URL (optional)
// Performance
sv_maxcmdrate 66
sv_maxupdaterate 66
fps_max 300
// Server Protection
sv_pure 1 // File consistency checking
sv_consistency 1
// Exec ban files
exec banned_user.cfg
exec banned_ip.cfg
Create insurgency/cfg/mapcycle.txt with your map rotation:
ins_baghdad
ins_embassy
ins_ministry
ins_siege
ins_station
ins_almaden
ins_heights
ins_kashan
Set game mode in startup parameters or console:
// Push Mode (attacking/defending objectives)
ins_gametype push
// Strike Mode (plant/defuse objectives)
ins_gametype strike
// Firefight Mode (capture and hold)
ins_gametype firefight
// Skirmish Mode (small team tactical)
ins_gametype skirmish
| Parameter | Description | Example |
|---|---|---|
| -game | Game directory name | -game insurgency |
| -console | Enable console output | -console |
| -port | Server port | -port 27015 |
| -maxplayers | Maximum players | -maxplayers 16 |
| +map | Starting map | +map ins_baghdad |
| +exec | Execute config file | +exec server.cfg |
| -tickrate | Server tickrate | -tickrate 66 |
| -ip | Bind to specific IP | -ip 192.168.1.100 |
| +tv_enable | Enable SourceTV | +tv_enable 1 |
| +sv_lan | LAN server mode | +sv_lan 0 |
./srcds_run -game insurgency -console -port 27015 -maxplayers 16 +map ins_baghdad +exec server.cfg -tickrate 66
srcds.exe -game insurgency -console -port 27015 -maxplayers 16 +map ins_baghdad +exec server.cfg -tickrate 66
#!/bin/bash
cd /home/insurgency/insurgency-server
screen -dmS insurgency ./srcds_run \
-game insurgency \
-console \
-port 27015 \
-maxplayers 16 \
+map ins_baghdad \
+exec server.cfg \
-tickrate 66
Issue: Server not visible in game server browser.
Solutions:
sv_lan 0 in server.cfgconnect IP:PORTIssue: Server fails to start or clients can't connect.
Solutions:
insurgency/ directoryIssue: Players cannot connect to server.
Solutions:
sv_password if server is password protectedmaxplayers limit not reachedIssue: Players experiencing latency.
Solutions:
sv_maxrate to match server bandwidthsv_maxupdaterate (66 recommended)Issue: Bots not working or causing problems.
Solutions:
ins_bot_quota to desired number (0 to disable)ins_bot_difficulty (0-4)Issue: Plugins not loading correctly.
Solutions:
addons/sourcemod/logs for errorsObjective-based attack/defense. Attackers must capture objectives in sequence while defenders hold them.
Plant/defuse objectives similar to Counter-Strike. One team plants explosive, other team defuses.
Capture and hold objectives to score points. Fast-paced tactical combat.
Small team tactical combat with limited lives. Realistic and hardcore.
Install custom maps to insurgency/maps/ directory and add to mapcycle.txt.
Insurgency uses Source engine modding:
Server administration and plugin framework.
Required by SourceMod - install first.
status # Show players and server info
kick [name/userid] # Kick player
kickid [userid] # Kick by UserID
banid [minutes] [userid]# Ban player
addip [minutes] [ip] # Ban IP address
changelevel [map] # Change map immediately
map [map] # Load specific map
mp_restartgame [delay] # Restart game after delay
ins_bot_add # Add bot
ins_bot_kick # Remove bot
Connect via RCON tool using password set in rcon_password:
rcon_password [password] # Authenticate
rcon [command] # Execute command remotely