sv_lan Command

Explore usage, syntax, and examples for the sv_lan CS2 developer console command.

sv_lan

CS2 and CSGO

Command

sv_lan

<0 / 1>

Sets the server to LAN mode or normal mode. LAN servers disable heartbeat, Steam authentication, and restrict connections to class C IP addresses. Default is 0 (normal server).

<0 / 1>

Set to 0 for a regular server (default). Set to 1 to enable LAN mode.

sv_cheats Required

No

Client or Server Command

Client

Server

Default Value

0

sv_lan Generator

Command

sv_lan

<0 / 1>
0/1 Arguments Selected

Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.

0 / 1

sv_lan Examples

Command

sv_lan

0

Default setting: the server runs in normal, non-LAN mode.

Command

sv_lan

1

Enables LAN mode on the server.