Noobster2000 Posted April 8, 2024 Posted April 8, 2024 Hi Folks, Question i installed a Rust game server in a container but i can see the server in the game list but i can't acces it and i als dont get a rcon connection. i had the same problem before on a Ubuntu server were i had to open the ports using ufw but how does it work on Unraid? Quote
bmartino1 Posted April 8, 2024 Posted April 8, 2024 (edited) a few questions need to be answered to further assist. 1. what network/docker network are you running -By default unraid enables bridge mode and doesn't set docker correctly(macvlan). *Either disable bridge mode or set docker network type to ipvlan 2. Under docker setting is host access to network enabled. -enable this. 3. when running the rust docker is it in bridge mode or custom(interface name) with a custom ip -I recommend running it as a custom eth0/br0/bond0... *Rcon should work at this point at IP address you set. 4. are you wanting public Internet access to this server? Set router port forwards To host a Rust server, you need to forward TCP port 28015 for gameplay. UDP port 28016 may be required for RCON (Remote Console) access Edited April 8, 2024 by bmartino1 Quote
bmartino1 Posted April 8, 2024 Posted April 8, 2024 (edited) When using the docker system ports are done via the template / environment variables. as seen here in this template This creates the docker run command in docker, this pass the variable -p ####:#### for ports exposure to use the service inside the docker. Unraid doesn't have a firewall like ubuntu ufw. see docker Docs: https://docs.docker.com/reference/cli/docker/ https://docs.docker.com/reference/cli/docker/container/run/ Edited April 8, 2024 by bmartino1 Quote
Noobster2000 Posted April 17, 2024 Author Posted April 17, 2024 i try to do it step by step now im getting a rcon connection but i still cant join Quote
bmartino1 Posted April 17, 2024 Posted April 17, 2024 You are using a docker custom network that you may have created. You need to use unraids custom network and use a ip in your routers DHCP scheme. in the container rust. the docker network type should be connecting to custom eth0 and be assigned a similar ip of 192.168.129.x what is the output of terminal command: docker network ls Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.