Day of Infamy Server Guide

📋 Quick Info

Server Specifications

🔌 Ports & Firewall Configuration

Day of Infamy 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 'DoI Game Port' sudo ufw allow 27015/tcp comment 'DoI RCON' sudo ufw allow 27005/udp comment 'DoI Client Port' sudo ufw allow 27020/udp comment 'DoI 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 DoI server:
    steamcmd +login anonymous +force_install_dir /home/steam/doi +app_update 462310 validate +quit
  3. Create server.cfg: Navigate to /home/steam/doi/doi/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:\doi +app_update 462310 validate +quit
  4. Create server.cfg in C:\doi\doi\cfg\

📝 Configuration

Basic server.cfg Example

// Server Name hostname "My Day of Infamy 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 "doi,hardcore,custom" // Game Settings mp_teamplay 1 mp_friendlyfire 1 // Friendly fire on (realistic) mp_autokick 0 mp_autoteambalance 1 mp_limitteams 2 // Time Settings mp_roundtime 10 // Minutes per round mp_round_restart_delay 15 // Seconds between rounds // Spawn Settings mp_tkpunish 0 // Team kill punishment mp_forcecamera 1 // Force spectator camera rules // Hit Registration & Rates sv_maxrate 0 // 0=unlimited sv_minrate 20000 sv_maxupdaterate 66 sv_minupdaterate 20 sv_maxcmdrate 66 sv_mincmdrate 20 // Server Performance sv_maxspeed 320 fps_max 300 // 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 // Team-only voice // Gameplay Settings doi_coop_max_waves 10 // Co-op mode wave count doi_squad_enabled 1 // Enable squad system doi_squad_leadership_enabled 1 // Squad leader mechanics // Theater-specific settings mp_theater "default" // default, rifle_only, bolt_action, etc. // SourceTV (optional) tv_enable 0 tv_name "Day of Infamy 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

bastogne bocage brenner crete dog_red dunkirk foy ortona salerno sicily stgilles

🚀 Startup Parameters

Parameter Description Example
-game Specify game (doi) -game doi
-port Server port -port 27015
-maxplayers Maximum player slots -maxplayers 32
+map Starting map +map bastogne
+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 doi -port 27015 -maxplayers 32 +map bastogne +exec server.cfg -tickrate 66

Example Startup Command (Windows)

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

Example Startup Script (Linux)

#!/bin/bash cd /home/steam/doi ./srcds_run -game doi -port 27015 -maxplayers 32 +map bastogne +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:

Squad System Issues

Issue: Squad mechanics not working properly.

Solutions:

Co-op Mode Problems

Issue: Co-op missions not functioning correctly.

Solutions:

SourceMod/Metamod Issues

Issue: Plugins not loading or causing crashes.

Solutions:

🎮 Game Modes

Day of Infamy features multiple game modes with squad-based WW2 combat:

Multiplayer Modes

Co-op Modes

Player Classes

🗺️ Default Maps

Official Maps

Co-op Maps

Map Theaters

Popular server modifications compatible with Day of Infamy:

📚 Resources

Important Notes