Skip to content

csgo start command -ip #2534

Closed
Closed

Description

@slgfire

Hello,
i use lgsm for a csgo LAN server.
and i see that the server is not listed in den lan-server list from steam.
but when i use the following start params:

fn_parms(){
parms="-game csgo -usercon -strictportbind -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_type ${gametype} +game_mode ${gamemode} +host_workshop_collection ${wscollectionid} +workshop_start_map ${wsstartmap} -authkey ${wsapikey} -nobreakpad"
}

but when im not use "-ip ${ip}" the server will show in the list.

I want to give each server its own ip, but they should also be visible in the steam lan server browser.

How can I do that?

Activity

  1. issue-label-bot commented on Oct 5, 2019

    @issue-label-bot

    Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

  2. Frisasky commented on Oct 5, 2019

    @Frisasky
    Contributor

    hmmmm, german-english hybrid language?
    maybe just typing what you want to say in google translation then post the translated text

  3. slgfire commented on Oct 5, 2019

    @slgfire
    Author

    ok, i try my best :D

  4. Frisasky commented on Oct 6, 2019

    @Frisasky
    Contributor

    try add "sv_lan 1" to your csgo's config and uses the ip of your server instead of 0.0.0.0

  5. slgfire commented on Oct 6, 2019

    @slgfire
    Author

    I tried but no change. The server is not displayed in the list.

    it depends perhaps on the user rights?
    can I somehow run the launcher as root?

  6. Frisasky commented on Oct 6, 2019

    @Frisasky
    Contributor

    no, you cant run as root
    the lan table in steam/csgo browser maybe broken, if youre having lan party you can just connect via ip

  7. slgfire commented on Oct 6, 2019

    @slgfire
    Author

    ok, i find this: #1770
    i try it :).

    lan browser is not broken when the server is listed without -ip.

    With Windows and -ip as startparameter (as administration), the server is listed. i think thats a problem with binding IPs to csgo at the lgsm.

  8. 991jo commented on Dec 2, 2019

    @991jo

    I had this issue a long time ago, take a look at this:
    #1741
    basically you have to set the ip param to your real IP because LSGM will complain otherwise.
    But you have to replace the -ip $ip param in the start line with -ip 0.0.0.0 so that the server binds to all IPs. This is probably a bug and Valve doesn't care.

  9. slgfire commented on Dec 3, 2019

    @slgfire
    Author

    i cant use 0.0.0.0 :)
    on the centos host i have multiple ip adresses (docker, kvm, local etc)
    tomorrow i test a manual csgo installation and start the server as root

  10. 991jo commented on Dec 3, 2019

    @991jo

    That is a bug in the CSGO server... it only listens to the UDP broadcast used for LAN game discovery when bound to 0.0.0.0. Root permissions do not solve this.

  11. added this to the v20.5.0 milestone on Sep 13, 2020
  12. github-actions commented on Sep 21, 2021

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  13. locked as resolved and limited conversation to collaborators on Sep 21, 2021
  14. self-assigned this
    on Nov 2, 2026
  15. moved this to ✅ Done in LinuxGSM Backlogon Nov 2, 2026
  16. added theissue type on Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions