Closed towhidzei closed 2 years ago
GoldSource servers will only use TCP (port 27015) if RCON is enabled; otherwise the only ports it opens will be UDP.
27015 UDP (game transmission, pings)
27015 TCP (RCON)
27020 UDP (HLTV transmission)
26900 UDP (VAC service) -- automatically increments if used in case of additional server processes
Source: https://developer.valvesoftware.com/wiki/Half-Life_Dedicated_Server
The Docker image built from this repo will have completely stock/default settings, which includes not enabling RCON. You'll need to derive your own Docker image from this one, using the game server you wish to use, and enable RCON. Alternatively, you could enable and configure RCON using command line arguments.
Examples of derived images:
Additional Notes
Docker Desktop
beware of the networking differences between the traditional Docker daemon on Linux and Docker Desktop.
Hi the server should listen on tcp and udp ports but when I run server same as example command, it just listen on udp port