Truenas 25.04-RC.1 and unifi-controller app - additional ports

hi guys,

I am on 25.04 RC.1 and trying to run unifi as an app.
goofball222/unifi is saying that multiple ports needs to be open:

  • 3478/udp (port used for STUN connection)
  • 6789/tcp (port used for throughput measurement from Android/iOS app)
  • 8080/tcp (port for UAP/USW/USG to inform controller)
  • 8443/tcp (port for controller GUI / API)
  • 8880/tcp (port for HTTP portal redirect)
  • 8843/tcp (port for HTTPS portal redirect)
  • 10001/udp (port used for UBNT discovery broadcasts - Local LAN/L2/same subnet only)

but only ports that can be added/changed in truenas UI are webui, webui https, and discovery port, are there any way to add additional ports? (I do not think that “Host network” is good solution.

is there any way how to force additional args to the docker image in 25.x, something like:

docker run --name unifi -d \
    -p 3478:3478/udp -p 8080:8080 -p 8443:8443 \
    -p 8880:8880 -p 8843:8843 \
    ghcr.io/goofball222/unifi

thank you

The unifi-controller app (I’m assuming this is what you are deploying based on the above, has the options in the UI:

If you want to deploy a customized version you can use the custom app option and map the desired ports in the port mapping section.

1 Like