Question about Ubiquity Appliance local install

I am planning on building a pfsense box, and buying a Ubiquiti U6 LR AP. I have never used them, and I know that I need to install on my network the Ubiquiti Appliance to manage it. This is about the extent of my knowledge.

My plan right now is to have the AP, through a single PoE injector, connect right into the pfsense box. (Looking at having 4 nics in the pfsense box)

Do I need to have it running at all times? Do I need it only when I want to make config changes? Is it better to manage it through the cloud?

I was looking into running the appliance from the pfsense box, but it looks like a but of jankey work to get it to run, and there is that security protentional as well.

Just looking for some bits of advice, as I plan and buy the last bits to migrate from the, well, stupid and restrictive cable provider modem.

There is some functionality that requires the server to be running but for most things you only need it to make config changes.

You only need the controller to configure the devices and to run the guest network captive portal.

Most people don’t need the controller running 24/7 unless you want nice looking stats.

1 Like

Thank you.

I am the kind of guy who has everything on either G-Drive or external and wipes my drives, well, every month to keep things clean and lean. If I do not need constantly running, then I will not worry about it and just keep up a backup. I was going to make a guest SSID, but just a secure one on its own vlan with no access to anything on the network.

If raspberry pi(s) weren’t so darn expensive and hard to find at the moment, I’d recommend just running the unifi controller on that alongside a pi hole instance. Alas, it’s something to think about in the future. And yes, you are correct that running the controller (or anything else for that matter) on your pFsense box is a bad idea.

The controller is also, what facilitates automatic updates of software/firmware running on the AP, and provides you with statistics to help troubleshoot poor connectivity if you happen to need that.

It’s basically a webapp written in Java and uses a local mongo db for persistence.

It can run perfectly fine on raspberry pi zero levels of hardware, and also runs fine in containers or bsd jails.

Try it out.

Once configured devices will periodically get a piece of JSON over http(s) from the controller - via the so called /inform url. If they can’t reach a controller they keep running using the old config.

You can set the inform URL on a device to anything.

You can download a backup from the controller web UI, and restore it on a different controller. (e.g. to go from pfSense to cloud VM to a pi running on arm, back to pfSense).

Re security, at the end of the day it’s just a web server, you can use reverse proxies with logging and auth as you please, also pfSense is just FreeBSD with some PHP on top - it’s not magically secured in any particularly unique way. As long as you keep the controller up to date (how do you keep pfSense itself up to date?) and are somewhat selective over who can reach the controller and/or have backups and logging, you’re good.


Cloudkey is a basically a ubiquity managed device (they do software/firmware updates) that happens to run the controller on it.

1 Like