In most cases, there is no need to allow any ports through the firewall. However, if you have a firewall that is restricting outbound traffic, you'll need to open the following ports outbound to your controller IP address:
UDP 3478 (Used for STUN)
TCP 8080 (Used for device and controller communication)
TCP 8443 (Used for controller GUI/API as seen in a web browser)
TCP 8880 (Used for HTTP portal redirection)
TCP 8843 (Used for HTTPS portal redirection)
TCP 6789 (Used for UniFi mobile speed test)
HostiFi
HostiFi provides hosting for both Ubiquiti and TP-Link software-defined-networking (SDN) applications, with servers for UniFi, UISP and Omada. We also offer professional networking consulting, with HostiFi Pro.
If you run into any issues, send an email to support@hostifi.com or contact us via live chat.