Since Tom migrated from Pfsense as a firewall to Unifi firewall, I do have the impression that many people are following his example, just because Tom did the move. (nothing wrong with that, though)
However, I did the opposite:
I had a UDM Pro, switched to a Netgate 6100 Pfsense firewall and replaced the UDM Pro with a CloudKey Gen2 Plus (UCK).
One of the reasons to make the switch from UDM Pro to UCK was to get away from that annoying issue of the UDM to always act as a gateway. Having a pseudo uplink to the Pfsense just to satisfy the UDM Pro didnāt make much sense to me and added unnecessary complexity to the setup.
Another reason was that UCK is using less power than UDM Pro. Even if itās ājustā 20W less, that sums up over the year.
Using the Pfsense as a firewall and gateway over the UDM Pro was driven by some considerations as well:
As Tom stated in the past as well: there are not much Open Source Firewalls left. Supporting the few that are left, seems to be a good way to ensure that there will still be one in the future. And Unifi Network & Firewall is a nice environment, but it is not Open Source.
Another reason was to seperate network management and firewall into two different tasks, following the Unix paradigm of ādo one thing, but do that well!ā
Additionally I have the feeling that Pfsense is offering more features that are relevant for me like DNS server with Views support, haproxy as a reverse proxy, Wireguard site-to-site VPN, OSPF, and many more options. And that I do have more control over those service than what Unifi allows me to configure in their WebGUI. Plus that I do have more diagnosis and debugging tools on Pfsense than I have in Unifi.
In the end Unifi is a closed black box. Youāll need to stick to what they offer you. Thatās not necessarily a bad thing, though, but itās your own decision if you buy into that more or less closed walled gardenā¦