Port Forwarding Unifi Controller

It sounds like you might need hairpin NAT to do what you’re trying to do. See https://docs.netgate.com/pfsense/en/latest/recipes/port-forwards-from-local-networks.html for documentation.
We normally prefer the split DNS method but if you’re going by IP you’ll need to do NAT reflection.