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

    Tool for pfSense + Unifi APs configuration

    Scheduled Pinned Locked Moved DHCP and DNS
    3 Posts 2 Posters 98 Views 2 Watching
    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.
    • M Offline
      madbrain
      last edited by

      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

      JKnottJ 1 Reply Last reply Reply Quote 1
      • JKnottJ Offline
        JKnott @madbrain
        last edited by

        @madbrain

        I also have a Unifi AP. I've not had a need to export DHCP table to the access point. It just works.

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          madbrain @JKnott
          last edited by madbrain

          @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.

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