Skip to content
/SLASHPLAY

How to turn off LAN mode in Left 4 Dead

Keep sv_lan 0, the default. With 1 the server only accepts players on its own local network, which on SLASHPLAY means no one.

sv_lan

LAN mode: no Steam heartbeat or authentication, and only local network addresses can join. Off 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 LAN mode on.

What it does

Meant for a server on the same local network as its players. Leave it off for a server people join over the internet.

Good to know

  • On SLASHPLAY players always join over the internet, so sv_lan 1 locks everyone out.

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 left4dead/cfg/server.cfg: the game ships without one, so upload your own with the file manager. New to this? Start a L4D server first.

Your own
L4D server.

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