Unifi APs intermittently disconnecting from internet using pFsense
-
We have 7 unifi LR APs and 1 unfi Mesh AP. Originally, they were connected via a small TPlink gigabit switch to an Untangle Firewall/Router. The Untangle also did DHCP and network was 192.168.15.0/24. No VLANs or any fancy setup on the Untangle or Unifi controller. The Untangle was running on a Dell Optiplex 3010 and the Unifi controller was running on an HP desktop PC. This setup had ran flawlessly with no issues at all with the AP's .
Recently, however, we were starting to run out of DHCP addresses and needed to expand the range. Also, we needed to have a solution for a 2nd WAN failover. pFsense had a better and solution than Untangle, so, I setup a pFsense firewall with 2 WANs and 1 LAN. The LAN used pFsense for DHCP and network was 192.168.14.x/23 in order to get more IP addresses. pFsense firewall is running on a DELL Optiplex 790 (i7 processor, 8GB RAM, all Intel network cards).
When I connected the pFsense to the network, I disconnected power and reconnected power to all APs so they would get a new IP on the new network. Did the same for the PC which has the unifi controller software and then restarted the controller software. All the APs got a new IP and showed "Connected" for about 2 minutes. Then, some of the APs showed "Connected (Limited)", some showed "Isolated" and they would intermittently show "Connected" but then go back to "Connected(Limited)". Reset power to APs and even tried defaulting one AP but after it came back online and got IP, it would exhibit the same intermittent behaviour. PC which runs the unifi controller software is hardwired to the switch and it had no problems getting on the internet or pinging any of the APs and its connection was not intermittent.
I could log into the "Debug" terminal of one of the APs that was showing "Connected(Limited)" and ping "www.yahoo.com" from the terminal successfully so I know DNS and DHCP are working, so, I'm baffled at what's going on. I had a limited time window in which to install the pFsense and since it was not working with the APs, I had to reinstall the old Untangle firewall. Once I installed the Untangle and reset power to the unifi APs, everything came back up and has been running perfectly for 3 days now.
I'm also reaching out to the unifi community to resolve, but, thought I'd also check here to see if anyone has had any similar issues using unifi APs with pFsense firewall.