This tutorial will show you how to configure your firewall to allow a direct connection to UniFi Protect from devices located on a separate network (or VLAN). For this tutorial, I will be using OPNSense as an example but it should also be a very similar setup on pfSense.
If you are like me and possess UniFi products, especially cameras and a network video recorder (NVR), configured to be on a separate network (or VLAN) to isolate your cameras from your LAN, this tutorial is for you.
It's been very frustrating not to be able to configure an IP address in the UniFi Protect App to force it to connect locally to the NVR when the clients reside on a separate network. This caused Protect to load through the UniFi Cloud access, causing delays (or sluggish opening when loading the App).