You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to run a Counter Strike Source game server, but I can only connect to the server when running --net=host.
This is a security compromise for the Host.
When I look at the LinuxGSM logs in the container, it shows the following ports are used;
i'm using a bridge network called 'containers' which is 172.20.0.0/16 and this works well.
So, I run the docker container with the following CLI;
I have also tried exposing other various ports I've found in other forums showing what ports i should be forwarding for this game to work.
I have my Host Firewall disabled when testing here, too, as to not get in the way. And the client i'm running the Game on is within the same local network as the game server, so no port forwarding required on internet router, etc.
Please help!
Documentation says that ports may vary depending on the server, and takes me to the GitHub repository with the compose files - but all of the compose files use Host mode and therefore no port publishing.
There is also talk of future plans to auto generate ports in the examples, but i'm not sure when this is planned.
Appreciate any help here please - I miss Counter Strike Source and would love to get a docker container running so i can build a Gun Game server for me and my friends.
Thank you!
The text was updated successfully, but these errors were encountered:
so i had the same problem.
i wanted to run a rust server locally on my lan.
set up barebones docker server controlled via portainer
in portainer i set a macvlan to my local network range
then create a macvlan-rust as a local network
this allowed the rust server to participate in the local lan.. or any lan you choose as long as you set it up in the macvlan range.
i did it this way as i have several internal network ranges and i want to assign reserved ip address via dhcp reservation via mac address.
Appreciate your reply.
I'm trying to access my game server externally but via my bridge network, so i can keep my host network detached from the container network.
I'm trying to run a Counter Strike Source game server, but I can only connect to the server when running --net=host.
This is a security compromise for the Host.
When I look at the LinuxGSM logs in the container, it shows the following ports are used;
i'm using a bridge network called 'containers' which is 172.20.0.0/16 and this works well.
So, I run the docker container with the following CLI;
I have also tried exposing other various ports I've found in other forums showing what ports i should be forwarding for this game to work.
I have my Host Firewall disabled when testing here, too, as to not get in the way. And the client i'm running the Game on is within the same local network as the game server, so no port forwarding required on internet router, etc.
Please help!
Documentation says that ports may vary depending on the server, and takes me to the GitHub repository with the compose files - but all of the compose files use Host mode and therefore no port publishing.
There is also talk of future plans to auto generate ports in the examples, but i'm not sure when this is planned.
Appreciate any help here please - I miss Counter Strike Source and would love to get a docker container running so i can build a Gun Game server for me and my friends.
Thank you!
The text was updated successfully, but these errors were encountered: