Raised This Month: $27 Target: $400
 6% 

Trouble using RCON on dedicated CS2 server with docker.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
av14n
New Member
Join Date: Mar 2025
Old 03-23-2025 , 16:36   Trouble using RCON on dedicated CS2 server with docker.
Reply With Quote #1

Hey all first time poster. I wanted to try my hand at creating some plugins replicating features from CSGO servers I used to play on that no longer exist.

I am using this https://github.com/joedwards32/CS2/tree/main docker image to quickly setup a CS2 server locally using docker. I can join the game but in the process of trying to install Metamod (Realized I couldn't access the console so I tried to use RCON) I could not RCON into the server.

I've tried a few different admin tools to try and establish a RCON connection but each time I get password invalid. I am able to discover the server.

I've tried setting the password using the environment variables within the image and verified the server.cfg file does set the password to what I expect.

Some insight or direction would be most helpful! Thank you all.
av14n is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-24-2025 , 03:01   Re: Trouble using RCON on dedicated CS2 server with docker.
Reply With Quote #2

CS2 is known for bugs on rcon_ , you should disable it, and try to use fake_rcon plugin for metamod.

Btw, do you have -usercon in your server start-up line ?
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers

Last edited by CryWolf; 03-24-2025 at 03:02.
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
av14n
New Member
Join Date: Mar 2025
Old 03-24-2025 , 12:11   Re: Trouble using RCON on dedicated CS2 server with docker.
Reply With Quote #3

Quote:
Originally Posted by CryWolf View Post
CS2 is known for bugs on rcon_ , you should disable it, and try to use fake_rcon plugin for metamod.

Btw, do you have -usercon in your server start-up line ?
I do have `-usercon` in my start-up line.

Also (UPDATE) I was able to get RCON to work using https://github.com/gorcon/rcon-cli. Literally did nothing different. I might try installing fake_rcon to see if I can use the GUI interfaces.
av14n is offline
CryWolf
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 03-25-2025 , 02:47   Re: Trouble using RCON on dedicated CS2 server with docker.
Reply With Quote #4

Add it and test -usercon to startup make sure your server has TCP/27015 port also activated, since Game Server works on UDP , the RCON is using TCP port
__________________
I dont walk trough this world with fear in my heart.
www.dark-arena.com L4D, CS1.6, CZ Servers
CryWolf is offline
Send a message via MSN to CryWolf Send a message via Yahoo to CryWolf
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:12.


Powered by vBulletin®
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Theme made by Freecode