Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

how to open ports?

Featured Replies

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?

  • Community Expert

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

 

image.png.14b583e9c715ed6f8bb96510cf7e806d.png

 

image.png.7d800f4db6cf4bc72ba04c0e5e3cad47.png

 

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...

image.thumb.png.78657e3335ac88bbb29fc7e127104a3a.png

 

*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 by bmartino1

  • Community Expert

When using the docker system ports are done via the template / environment variables.

 

image.png.0cf057e0325bf7fcefb9279a4ad6e201.png

 

as seen here in this template

 

image.thumb.png.d89ab42fb2475fb53a6a5dcdd2da0340.png

 

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 by bmartino1

  • 2 weeks later...
  • Author

i try to do it step by step now im getting a rcon connection but i still cant join 

 

 

image.thumb.png.b75522e4225b2c0d4e10ab3d1e962a89.png

 

image.thumb.png.4ed1879989e1c60e243e4be02882b7e7.png

 

image.thumb.png.9299494a287fa701e3bb0acda61455cd.png

  • Community Expert

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

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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.