Skip to content
/SLASHPLAY

How to make a Day of Defeat: Source server LAN only

Set sv_lan 1 in dod/cfg/server.cfg. On SLASHPLAY keep sv_lan 0, or players outside the server's network can't join.

sv_lan

Makes it a LAN-only server: no Steam authentication and only local-network players can join. 0 by default.

sv_lan <0|1>

Examples

sv_lan 0

Internet server, the default.

Values

ValueWhat it does
0Default Off
1 On

Arguments

0|1Required
1 turns it on, 0 turns it off.

What it does

Keep it at 0 for a server people join over the internet. With 1, the server skips Steam checks and accepts only local addresses.

Good to know

  • Leave it at 0 on SLASHPLAY: with 1, your friends can no longer join over the internet.

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to dod/cfg/server.cfg. New to this? Start a DoD:S server first.

Your own
DoD:S server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.