Closed LsHallo closed 4 years ago
Can you run the server with the -i -t parameters? I forgot to add that information at the documentation.
Additional you need to forward udp and tcp.
example:
docker run -d -it \
--name gmod \
-p 27015:27015/tcp \
-p 27015:27015/udp \
-e "AUTHKEY=****" \
-e "GAMEMODE=terrortown" \
-e "MAP=gm_flatgrass" \
-e "WORKSHOPCOLLECTIONID=880783690" \
-v /opt/garrysmod/:/opt/steam/garrysmod/cfg/ \
hackebein/garrysmod
That did the trick! Thank you.
Starting the container with:
It downloads gmod and then starts it resulting in the following output:
I suspect the error with the steam api is preventing me from connecting. It should not have to do with port forwarding or a firewall because I am running servers for factorio, minecraft and farming simulatur on the same server and they all work fine. I've forwarded port 27005-27015 to my server.