LacledesLAN / gamesvr-goldsource

"Content-level" docker image for LL "GoldSrc" servers.
https://hub.docker.com/r/lacledeslan/gamesvr-goldsource/
The Unlicense
3 stars 0 forks source link

tcp port #7

Closed towhidzei closed 2 years ago

towhidzei commented 2 years ago

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

dudleycodes commented 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