Ubiquiti Notes
Installing the UniFi Controller in a Jail
Super easy! In a fresh jail,
pkg update
pkg install unifi5
sysrc unifi_enable=YES
service unifi start
Note that this will most certainly be a few versions behind upstream.
Clear DNS Cache
Go to Site → Services → Advanced Features and enable it. Hit “Save”. You’ll see a new section called “Device Authentication” at the bottom. It will have the SSH credentials. SSH into the USG.
# Inspect and remove any offending entries
sudo vi /etc/hosts
# Clear the cache
clear dns forwarding cache