Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Running Ubiquiti UniFi controller on pfsense 2.2 in a VM

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 2.0k 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
      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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post
      Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
      Privacy Policy · Cookie Policy