This command, if set to 1, will make the server you are currently on a LAN server. A LAN server does not require a connection to the internet to run. This setting disables authentication, the heartbeat to Steam servers, and other features that require a connection to the internet.
The syntax for the sv_lan command is as follows:
sv_lan [0 / 1] Default Value: 0
This command has the following arguments:
|0 / 1||Set to 0 to make your server a normal (non-LAN) server, default. Set to 1 to make your server a LAN server.|
Find below working examples of the sv_lan command.
This command disables LAN mode on your server/game (default).
This command enables LAN mode on your server/game (internet isn't required to host).