Day of Defeat: Source Server Guide

📋 Quick Info

Server Specifications

🔌 Ports & Firewall Configuration

Day 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

Firewall Examples

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

⚙️ Installation & Setup

System Requirements

Installation via SteamCMD (Linux)

  1. Install SteamCMD:
    sudo apt-get install steamcmd # Debian/Ubuntu sudo yum install steamcmd # CentOS/RHEL
  2. Run SteamCMD and install DoD:S server:
    steamcmd +login anonymous +force_install_dir /home/steam/dods +app_update 232290 validate +quit
  3. Create server.cfg: Navigate to /home/steam/dods/dod/cfg/ and create configuration file

Installation via SteamCMD (Windows)

  1. Download SteamCMD from Valve's website
  2. Extract to C:\steamcmd\
  3. Run: steamcmd +login anonymous +force_install_dir C:\dods +app_update 232290 validate +quit
  4. Create server.cfg in C:\dods\dod\cfg\

📝 Configuration

Basic server.cfg Example

// 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

mapcycle_default.txt Example

dod_anzio dod_avalanche dod_colmar dod_donner dod_flash dod_jagd dod_kalt dod_palermo

🚀 Startup Parameters

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

Example Startup Command (Linux)

./srcds_run -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -tickrate 66

Example Startup Command (Windows)

srcds.exe -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -console -tickrate 66

Example Startup Script (Linux)

#!/bin/bash cd /home/steam/dods ./srcds_run -game dod -port 27015 -maxplayers 32 +map dod_avalanche +exec server.cfg -tickrate 66

🔧 Troubleshooting

Server Not Appearing in Browser

Issue: Server not visible in the in-game server browser.

Solutions:

Connection Issues

Issue: Players cannot connect or timeout.

Solutions:

High Ping/Lag Issues

Issue: Players experiencing high latency.

Solutions:

RCON Not Working

Issue: Cannot connect via RCON.

Solutions:

Server Crashes on Startup

Issue: Dedicated server crashes immediately.

Solutions:

SourceMod/Metamod Issues

Issue: Plugins not loading or causing crashes.

Solutions:

🎮 Game Modes

Day of Defeat: Source features team-based World War 2 combat with objective gameplay:

Player Classes

🗺️ Default Maps

Official Maps

Map Features

Popular server modifications compatible with Day of Defeat: Source:

📚 Resources

Important Notes