27015/UDPDay of Defeat: Source servers require specific ports for proper operation:
| Port | Protocol | Purpose | Required |
|---|---|---|---|
| 27015 (configurable) | UDP | Game port | Yes |
| 27015 (same as game) | TCP | RCON/Source TV | Optional |
| 27005 | UDP | Client port | Yes |
| 27020 | UDP | SourceTV port | Optional |
UFW (Ubuntu/Debian):
sudo ufw allow 27015/udp comment 'DoD:S Game Port'
sudo ufw allow 27015/tcp comment 'DoD:S RCON'
sudo ufw allow 27005/udp comment 'DoD:S Client Port'
sudo ufw allow 27020/udp comment 'DoD:S SourceTV'
FirewallD (CentOS/RHEL):
sudo firewall-cmd --permanent --add-port=27015/udp
sudo firewall-cmd --permanent --add-port=27015/tcp
sudo firewall-cmd --permanent --add-port=27005/udp
sudo firewall-cmd --permanent --add-port=27020/udp
sudo firewall-cmd --reload
iptables:
iptables -A INPUT -p udp --dport 27015 -j ACCEPT
iptables -A INPUT -p tcp --dport 27015 -j ACCEPT
iptables -A INPUT -p udp --dport 27005 -j ACCEPT
iptables -A INPUT -p udp --dport 27020 -j ACCEPT
sudo apt-get install steamcmd # Debian/Ubuntu
sudo yum install steamcmd # CentOS/RHELsteamcmd +login anonymous +force_install_dir /home/steam/dods +app_update 232290 validate +quit/home/steam/dods/dod/cfg/ and create configuration fileC:\steamcmd\steamcmd +login anonymous +force_install_dir C:\dods +app_update 232290 validate +quitserver.cfg in C:\dods\dod\cfg\// Server Name
hostname "My DoD:Source Server"
// RCON Password
rcon_password "your_secure_password"
// Server Password (leave blank for public)
sv_password ""
// Network Settings
sv_region 255 // 0=US East, 1=US West, 2=South America, 3=Europe, etc.
sv_contact "admin@example.com"
sv_tags "dods,nocrits,alltalk"
// Game Settings
mp_teamplay 1
mp_friendlyfire 0
mp_autokick 1
mp_autoteambalance 1
mp_limitteams 2 // Max player difference between teams
mp_teams_unbalance_limit 2
// Time Settings
mp_timelimit 30 // Minutes per map
mp_winlimit 0
mp_maxrounds 0
mp_roundtime 5 // Minutes per round
// Hit Registration & Rates
sv_maxrate 0 // 0=unlimited, recommended for good connections
sv_minrate 5000
sv_maxupdaterate 66
sv_minupdaterate 20
sv_maxcmdrate 66
sv_mincmdrate 20
// Server Performance
sv_maxspeed 320
fps_max 600
// Logging
log on
sv_logbans 1
sv_logecho 0
sv_logfile 1
sv_log_onefile 0
// Download Settings
sv_allowdownload 1
sv_allowupload 1
sv_downloadurl "" // FastDL URL if available
// Voice Chat
sv_voiceenable 1
sv_alltalk 0 // 0=team only, 1=everyone
// SourceTV (optional)
tv_enable 0
tv_name "DoD:Source TV"
tv_maxclients 4
tv_delay 30
// Map Cycle
mapcyclefile "mapcycle_default.txt"
// Execute additional configs
exec banned_user.cfg
exec banned_ip.cfg
dod_anzio
dod_avalanche
dod_colmar
dod_donner
dod_flash
dod_jagd
dod_kalt
dod_palermo
| Parameter | Description | Example |
|---|---|---|
| -game | Specify game (dod) | -game dod |
| -port | Server port | -port 27015 |
| -maxplayers | Maximum player slots | -maxplayers 32 |
| +map | Starting map | +map dod_avalanche |
| +exec | Execute config file on startup | +exec server.cfg |
| -ip | Bind to specific IP | -ip 192.168.1.100 |
| -console | Enable console output (Windows) | -console |
| -tickrate | Server tickrate (default: 66) | -tickrate 100 |
| +sv_pure | File consistency checking (0-2) | +sv_pure 1 |
./srcds_run -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -tickrate 66
srcds.exe -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -console -tickrate 66
#!/bin/bash
cd /home/steam/dods
./srcds_run -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -tickrate 66
Issue: Server not visible in the in-game server browser.
Solutions:
sv_lan 0 is set (not LAN-only mode)Issue: Players cannot connect or timeout.
Solutions:
maxplayers limit)sv_password ""sv_pure settings if custom content conflictsdod/logs/Issue: Players experiencing high latency.
Solutions:
sv_maxrate 0 for unlimited bandwidth-tickrate 100fps_max 600 or higherIssue: Cannot connect via RCON.
Solutions:
rcon_password is set in server.cfgIssue: Dedicated server crashes immediately.
Solutions:
dod/logs/ for error messagessteamcmd +app_update 232290 validate +quitserver.cfg syntax is correctIssue: Plugins not loading or causing crashes.
Solutions:
addons/sourcemod/logs/ for errorsDay of Defeat: Source features team-based World War 2 combat with objective gameplay:
Popular server modifications compatible with Day of Defeat: Source: