Running Ubiquiti UniFi controller on pfsense 2.2 in a VM
-
For anyone that is interested in an alternate way to run UniFi on pfsense 2.2. Instead of installing UniFi directly on pfsense, I am running it inside a VM. The VM is a lite install of FreeBSD 10.1 running as a guest using bhyve as a hypervisor.
Info on getting bhyve working is here:
https://forum.pfsense.org/index.php?topic=84678.msg494912#msg494912After I got the VM running with FBSD, I installed UniFi from a port:
http://www.freshports.org/net-mgmt/unifi3/Execute these commands on the FBSD VM:
portsnap fetch
portsnap extract
portsnap update
cd /usr/ports/net-mgmt/unifi3/
make install
make cleanAfter install, to manually start:
/usr/sbin/service unifi startTo Autostart on boot:
add unifi_enable="YES" to /etc/rc.confI hope this is helpful.
Wayne