Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Running Ubiquiti UniFi controller on pfsense 2.2 in a VM

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      WayneSherman
      last edited by

      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#msg494912

      After 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 clean

      After install, to manually start:
      /usr/sbin/service unifi start

      To Autostart on boot:
      add unifi_enable="YES" to  /etc/rc.conf

      I hope this is helpful.

      Wayne

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.