[GH-ISSUE #703] CS:GO server issues #565

Closed
opened 2026-02-27 02:02:21 +03:00 by kerem · 24 comments
Owner

Originally created by @Y0ungSandwich on GitHub (Feb 17, 2016).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/703

My CS:GO server is not showing in the server lists at all.
It's online and running, ports are opened, using 27016.
GameTracker shows the server online but also won't show me in the online
player list after refreshes.
http://www.gametracker.com/server_info/bloxhub.com:27016/

Sometimes gametracker will randomly report that the server is offline when it is not.

I can connect to the server via console with:
connect bloxhub.com:27016
just fine, it shows in my favorites with the same address and nothing local that would surpass firewalls.

I am also running an ARK server through LGSM on the same machine. I am using all default ports for that so I see no reason for any confrontation there.

Is there another port I am missing or something? I have:
ip="0.0.0.0"
in csgoserver but if I change it to my Ip address the server refuses to start.
http://pastebin.com/z5FGM1wt

Originally created by @Y0ungSandwich on GitHub (Feb 17, 2016). Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/703 My CS:GO server is not showing in the server lists at all. It's online and running, ports are opened, using 27016. GameTracker shows the server online but also won't show me in the online player list after refreshes. http://www.gametracker.com/server_info/bloxhub.com:27016/ Sometimes gametracker will randomly report that the server is offline when it is not. I can connect to the server via console with: `connect bloxhub.com:27016` just fine, it shows in my favorites with the same address and nothing local that would surpass firewalls. I am also running an ARK server through LGSM on the same machine. I am using all default ports for that so I see no reason for any confrontation there. Is there another port I am missing or something? I have: `ip="0.0.0.0"` in csgoserver but if I change it to my Ip address the server refuses to start. http://pastebin.com/z5FGM1wt
kerem closed this issue 2026-02-27 02:02:22 +03:00
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

You're definitely having an issue with your machine.
Could either be a failing DDoS protection, a failing firewall and port redirect, or bad networking.

As for the IP issue, i should have asked that before :
Is the IP of your machine the same as your public IP ? Is that a VM ?
What is your distro ?
What kind of server are you using ?
What provider, what location ?

<!-- gh-comment-id:185400677 --> @UltimateByte commented on GitHub (Feb 17, 2016): You're definitely having an issue with your machine. Could either be a failing DDoS protection, a failing firewall and port redirect, or bad networking. As for the IP issue, i should have asked that before : Is the IP of your machine the same as your public IP ? Is that a VM ? What is your distro ? What kind of server are you using ? What provider, what location ?
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

This is a home hosted machine. Server grade hardware, Fibre connection, etc.
I feel like if it was a failure in the machine or network then my other servers would be having
some sort of issue as well.

I'm running CentOS 7.1
Not running any VMs

Also testing with firewall down doesn't change connectivity.

<!-- gh-comment-id:185401929 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): This is a home hosted machine. Server grade hardware, Fibre connection, etc. I feel like if it was a failure in the machine or network then my other servers would be having some sort of issue as well. I'm running CentOS 7.1 Not running any VMs Also testing with firewall down doesn't change connectivity.
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

OK
I guess you're using a router ? What router is this ? (for the record)

Weird stuff in your config :

port="27016" sourcetvport="27020" clientport="27005"

You increased the server port from 1, but didn't change other ports. I assume you did that because another server is using 27015 port ? Then another server is probably using the default clientport and sourcetv port. One server, one set of ports.
I'd suggest you to read that entirely, i'm pretty sure i didn't write this for nothing :p https://github.com/dgibbs64/linuxgsm/wiki/Default-Ports
I'm personally using the method 1 to set my port ranges.

<!-- gh-comment-id:185409674 --> @UltimateByte commented on GitHub (Feb 17, 2016): OK I guess you're using a router ? What router is this ? (for the record) Weird stuff in your config : `port="27016" sourcetvport="27020" clientport="27005"` You increased the server port from 1, but didn't change other ports. I assume you did that because another server is using 27015 port ? Then another server is probably using the default clientport and sourcetv port. One server, one set of ports. I'd suggest you to read that entirely, i'm pretty sure i didn't write this for nothing :p https://github.com/dgibbs64/linuxgsm/wiki/Default-Ports I'm personally using the method 1 to set my port ranges.
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

Also, if your server IP isn't your public IP, then you should use your local IP as ip="YOUR LOCAL IP", then the router will do the job as long as your ports are redirected properly.

BTW, run ./csgoserver details to know what are the 3 ports you're gonna have to redirect, and to know if it's UDP or TCP. Redirect them all, don't be lazy as some guys that are happy with one port "as long as it works...", be sure that it works entirely.

<!-- gh-comment-id:185410749 --> @UltimateByte commented on GitHub (Feb 17, 2016): Also, if your server IP isn't your public IP, then you should use your local IP as ip="YOUR LOCAL IP", then the router will do the job as long as your ports are redirected properly. BTW, run `./csgoserver details` to know what are the 3 ports you're gonna have to redirect, and to know if it's UDP or TCP. Redirect them all, don't be lazy as some guys that are happy with one port "as long as it works...", be sure that it works entirely.
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

Router is from my ISP its an actiontec.

I increased it because ARK is using 27015 for its Query.
As far as I know the sourcetvport and clientport isn't a thing on the ARK side so I left that alone.
This machine is only running ARK and this one CS:GO server. The other machine in house is running minecraft servers. Yep ran the details and forwarded everything from my router and my firewall, including testing with the firewall off quickly.

If I leave the IP as
ip="0.0.0.0"
when I run details it will say the local IP of the machine.

<!-- gh-comment-id:185412129 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): Router is from my ISP its an actiontec. I increased it because ARK is using 27015 for its Query. As far as I know the sourcetvport and clientport isn't a thing on the ARK side so I left that alone. This machine is only running ARK and this one CS:GO server. The other machine in house is running minecraft servers. Yep ran the details and forwarded everything from my router and my firewall, including testing with the firewall off quickly. If I leave the IP as `ip="0.0.0.0"` when I run details it will say the local IP of the machine.
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

ARK is beginning to bore me like hell... :o))
Make sure it doesn't use the whole 27000 IP range, lol.

So did you redirect those 3 ports to the right local IP ?
Dirty and fast way would be to redirect 27000 to 28999 ports TCP/UDP to that machine. Then temporary remove the firewall of that machine. If it works, then you know it's either a firewall or a port issue. Put the firewall back, test again. If it works, it was a port issue. Then redirect those ports properly.

<!-- gh-comment-id:185422640 --> @UltimateByte commented on GitHub (Feb 17, 2016): ARK is beginning to bore me like hell... :o)) Make sure it doesn't use the whole 27000 IP range, lol. So did you redirect those 3 ports to the right local IP ? Dirty and fast way would be to redirect 27000 to 28999 ports TCP/UDP to that machine. Then temporary remove the firewall of that machine. If it works, then you know it's either a firewall or a port issue. Put the firewall back, test again. If it works, it was a port issue. Then redirect those ports properly.
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

Yeah I've had those 3 forwarded.
Should I change the ARK Server query port outside of that range?

<!-- gh-comment-id:185424971 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): Yeah I've had those 3 forwarded. Should I change the ARK Server query port outside of that range?
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

What Im not getting is if I can connect in the console with my IP or bloxhub.com:27016 and can connect to the server, GamTracker sees it, so why can't the public see it? Makes little to no sense to me haha

<!-- gh-comment-id:185426806 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): What Im not getting is if I can connect in the console with my IP or bloxhub.com:27016 and can connect to the server, GamTracker sees it, so why can't the public see it? Makes little to no sense to me haha
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

Yeah I've had those 3 forwarded.

Good

Should I change the ARK Server query port outside of that range?

If you can, you'd better move it away, yes.

Gametracker sees it, but seems not to be able to know your name while on it. Maybe the query is partially working because of a port being unreachable.

Did you remove CentOS firewall i i suggested ? Just for testing.
(BTW, i'm personally think firewalls are almost useless for most people)

<!-- gh-comment-id:185431441 --> @UltimateByte commented on GitHub (Feb 17, 2016): > Yeah I've had those 3 forwarded. Good > Should I change the ARK Server query port outside of that range? If you can, you'd better move it away, yes. Gametracker sees it, but seems not to be able to know your name while on it. Maybe the query is partially working because of a port being unreachable. Did you remove CentOS firewall i i suggested ? Just for testing. (BTW, i'm personally think firewalls are almost useless for most people)
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

yeah I've got it completely off at the moment. Still nothing. Never had this in the past with CS:GO servers I've hosted.

<!-- gh-comment-id:185432040 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): yeah I've got it completely off at the moment. Still nothing. Never had this in the past with CS:GO servers I've hosted.
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

output of
netstat -atunp | grep srcds_linux

tcp 0 0 192.168.1.2:27016 0.0.0.0:* LISTEN 32322/./srcds_linux
udp 0 0 192.168.1.2:26901 0.0.0.0:* 32322/./srcds_linux
udp 0 0 192.168.1.2:27005 0.0.0.0:* 32322/./srcds_linux
udp 0 0 192.168.1.2:27016 0.0.0.0:* 32322/./srcds_linux
udp 0 0 192.168.1.2:27020 0.0.0.0:* 32322/./srcds_linux

Is that 26901 referring to the CS:GO server? Haven't seen it mentioned anywhere else.

<!-- gh-comment-id:185439131 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): output of `netstat -atunp | grep srcds_linux` tcp 0 0 192.168.1.2:27016 0.0.0.0:\* LISTEN 32322/./srcds_linux udp 0 0 192.168.1.2:26901 0.0.0.0:\* 32322/./srcds_linux udp 0 0 192.168.1.2:27005 0.0.0.0:\* 32322/./srcds_linux udp 0 0 192.168.1.2:27016 0.0.0.0:\* 32322/./srcds_linux udp 0 0 192.168.1.2:27020 0.0.0.0:\* 32322/./srcds_linux Is that 26901 referring to the CS:GO server? Haven't seen it mentioned anywhere else.
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

OK, no need to look anywhere else, your previous post made me think "He hosted CSGO servers in the past... Maybe he doesn't know about GSLT... Does he have the GSLT... Wait, his scrips looks like it's from a damn while ago... Where is his GSLT setting ?! Oh, there is none..."

  1. Grab the latest script version (also remove the /functions directory) wget http://gameservermanagers.com/dl/csgoserver
  2. Configure the GSLT https://github.com/dgibbs64/linuxgsm/wiki/Game-Server-Login-Token

Solved.

<!-- gh-comment-id:185440000 --> @UltimateByte commented on GitHub (Feb 17, 2016): OK, no need to look anywhere else, your previous post made me think "He hosted CSGO servers in the past... Maybe he doesn't know about GSLT... Does he have the GSLT... Wait, his scrips looks like it's from a damn while ago... Where is his GSLT setting ?! Oh, there is none..." 1) Grab the latest script version (also remove the /functions directory) `wget http://gameservermanagers.com/dl/csgoserver` 2) Configure the GSLT https://github.com/dgibbs64/linuxgsm/wiki/Game-Server-Login-Token Solved.
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

I didn't know about that 26901, i don't know what the heck it is. A little googleing seems to indicate that it's the default -steamport 26909 , no idea what the heck it is. Need more googleing.

<!-- gh-comment-id:185441036 --> @UltimateByte commented on GitHub (Feb 17, 2016): I didn't know about that 26901, i don't know what the heck it is. A little googleing seems to indicate that it's the default -steamport 26909 , no idea what the heck it is. Need more googleing.
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

OK, that port might be used for GSLT in the end :)
Not sure if we can and need to change it to run several GSLT servers. I should try it out.

<!-- gh-comment-id:185441806 --> @UltimateByte commented on GitHub (Feb 17, 2016): OK, that port might be used for GSLT in the end :) Not sure if we can and need to change it to run several GSLT servers. I should try it out.
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

Ha ok so something like this in the params?

fn_parms(){
parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount [Token] -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} +host_workshop_collection ${ws_collection_id} +workshop_start_map ${ws_start_map} -authkey ${authkey}"
}

<!-- gh-comment-id:185450517 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): Ha ok so something like this in the params? fn_parms(){ parms="-game csgo -usercon -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} **+sv_setsteamaccount [Token]** -tickrate ${tickrate} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers_override ${maxplayers} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} +host_workshop_collection ${ws_collection_id} +workshop_start_map ${ws_start_map} -authkey ${authkey}" }
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

Something like that.
Just update your script, there is a setting for gslt ;)

<!-- gh-comment-id:185453303 --> @UltimateByte commented on GitHub (Feb 17, 2016): Something like that. Just update your script, there is a setting for gslt ;)
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

Is that under ./csgoserver update-functions?
Haven't had to update the script before.

nevermind I found it on here....rough couple days Im out of it haha.

<!-- gh-comment-id:185454500 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): Is that under ./csgoserver update-functions? Haven't had to update the script before. nevermind I found it on here....rough couple days Im out of it haha.
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

No, it's within the csgoserver script !
As i said :

"1) Grab the latest script version (also remove the /functions directory) wget http://gameservermanagers.com/dl/csgoserver"

This one requires manual update :)

<!-- gh-comment-id:185461674 --> @UltimateByte commented on GitHub (Feb 17, 2016): No, it's within the csgoserver script ! As i said : "1) Grab the latest script version (also remove the /functions directory) wget http://gameservermanagers.com/dl/csgoserver" This one requires manual update :)
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 17, 2016):

Yeah just edited my last post as you posted haha. Sorry about that.

<!-- gh-comment-id:185461931 --> @Y0ungSandwich commented on GitHub (Feb 17, 2016): Yeah just edited my last post as you posted haha. Sorry about that.
Author
Owner

@UltimateByte commented on GitHub (Feb 17, 2016):

NP dude ^^

<!-- gh-comment-id:185462084 --> @UltimateByte commented on GitHub (Feb 17, 2016): NP dude ^^
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 18, 2016):

Thank God it worked haha. Can see it just fine now! Thanks for all the help and the patience lol

Now to find out how to change some round times and such lol.

<!-- gh-comment-id:185467490 --> @Y0ungSandwich commented on GitHub (Feb 18, 2016): Thank God it worked haha. Can see it just fine now! Thanks for all the help and the patience lol Now to find out how to change some round times and such lol.
Author
Owner

@UltimateByte commented on GitHub (Feb 18, 2016):

I assumed you made a new installation with the latest game script, that's why it took so much time !
Glad it's solved !

GLHF with that csgo server !

<!-- gh-comment-id:185513239 --> @UltimateByte commented on GitHub (Feb 18, 2016): I assumed you made a new installation with the latest game script, that's why it took so much time ! Glad it's solved ! GLHF with that csgo server !
Author
Owner

@Y0ungSandwich commented on GitHub (Feb 18, 2016):

No I just Copied the script into a new file and edited it up and sent it over. Worked like a charm.
Figured out my setting and I'ts good to go now. Thanks again. o/

<!-- gh-comment-id:185520782 --> @Y0ungSandwich commented on GitHub (Feb 18, 2016): No I just Copied the script into a new file and edited it up and sent it over. Worked like a charm. Figured out my setting and I'ts good to go now. Thanks again. o/
Author
Owner

@lock[bot] commented on GitHub (Jul 19, 2018):

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

<!-- gh-comment-id:406290622 --> @lock[bot] commented on GitHub (Jul 19, 2018): This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sign in to join this conversation.
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LinuxGSM#565
No description provided.