The firewall instructions open more ports than are absolutely necessary, and.I mostly followed the instructions for a Debian based UniFi Controller, with the following gotchas:
The easiest way to do this would probably have been to get a UniFi Cloud Key to run the Controller locally, then manage it using a Ubiquiti account – but seeing as I was too cheap to buy a Cloud Key, and I already have a server that I’m using for other things – it made sense for me to run the Controller on that server. Get the Controller up and running before anything else. Here are some notes I took while setting up my home WiFi with two UniFi UAP-AC-PROs and the UniFi Controller running in the cloud: Ubiquiti make some shiny WiFi gear that falls in to the “Enterprise Lite” space – not quite as robust as Cisco Meraki or Aerohive gear, but also nowhere near as expensive. This post is somewhat outdated I’d recommend checking out my new guide to configuring the UniFi Controller inside a Docker container with a Let’s Encrypt SSL certificate instead of this one!