LAN Discovery

Last updated 3 months ago

Most users who have tried it reported an impossibility to discover a local server from the LAN tab both from Steam and the game itself. LAN Discovery‚Äč

Workarounds

There are two easy workarounds for this:

  • Connect using the console command

    Syntax: connect IP:PORT

    If the port is 27015, then you can just use : connect IP

    Examples: connect 192.168.1.10:27025 ; connect 192.168.1.10

  • Add the server to the server browser's favorites. If ingame, then go to the legacy browser if applicable to find it. The syntax to use is the same as for the console connection.

Note: Make sure your server actually works and is reachable on LAN, otherwise what you need is rather Troubleshooting first .

Attempt at fixing the issue

As this github issue shows, there might be a possible configuration that fixes the issue, but LinuxGSM devs were not able to reproduce it at the time of writing the doc, so this information is purely experimental and you are welcome to update it or post on the issue if you have useful information to share about it.

  1. Edit your Start Parameters using your LinuxGSM Config files

  2. Change ip="0.0.0.0" to an actual interface IP, for example ip="192.168.1.10" ; this will allow LinuxGSM to monitor and query your server properly.

  3. In the fn_parms section, add +sv_lan 1 and make sure you replace -ip ${ip} with -ip 0.0.0.0

  4. Make sure your server main port listens to one of these IP or IP ranges: 4242 ; 26900-26905 ; 27015-27020 ; 27215