Tool for pfSense + Unifi APs configuration
-
Not sure if this is the right place to publicize this. If not, please move it.
I wrote a program that performs, among other tasks, export of the pfSense DHCP table to Unifi client list . This helps keep the two in sync, and all manual edits remain in one place, on the pfSense side. I hope this is of use to somebody. I know I'm not the only person on earth with pfSense + Unifi AP setup.
https://github.com/madbrain76/netcon-sync
-
I also have a Unifi AP. I've not had a need to export DHCP table to the access point. It just works.
-
@JKnott Of course it's not required. However, when you have lots of devices of the same brand/model, especially IOT, the name they show up as in both pfSense and Unifi by default is not distinctive. Sometimes even duplicate. I have over 40 TP-Link KP125 smartplugs that all showed up as "KP125", for instance. It is mpossible to tell which is which in the controller. The 218 Wiz light bulbs use wiz_last 6 of the
MAC.
So, I created DHCP reservations for each of them, and described them in pfSense. The tool ensures that the description matches. Otherwise, it is a manual process - you have to update it in 2 places. And if you forget, it is very confusing. Especially if you move and repurpose a devicex which happens a fair bit with the smartplugs. With 302 Wi-Fi clients, double manual edits did not cut it. Hence why I created the tool.