This video will show you which ports you need and how to forward them through your EdgeRouter for the UniFi controller.

We are going to forward ports:
8080 – Inform
8443 – Secure Web GUI
8880 – Non secure portal redirect
8843 – Secure portal redirect

There is no good reason to forward your MongoDB port, so we are NOT going to do that port.

Using port forwarding will expose these services to the entire world. You may need to do that, but if you don’t and want to lock it down to specific IPs you’ll want to use DNAT. Here is my video on DNAT:

To lock it down to an IP, when you create the DNAT rule, specify the IP in the source tab.

Here is the UBNT support article for UniFi ports:

Please subscribe! Give a thumbs-up, share, and comment!