Yes, that's kind of the problem. lol I think at least.
That's why I was saying to change it.
I think that I'm just confusing you more now. ; )
Somehow, LAN2 needs a way in/out. Either by going through LAN1 and out to WAN1 (setting the LAN2 gateway to 192.168.1.1) or through its own separate access to WAN1.
The NVR would stay on the 192.168.2.0 network using 192.168.2.1 as its gateway. Assuming that's what you want anyway and separate from some VLAN config differently.
I think you're either misunderstanding on this works on ubiquiti - or I am misunderstanding how it works.
I have two networks set up through the same security gateway.
1st port on gateway - 192.168.1.xxx which is attached to my switch, which powers all my AP's, my WAN & LAN for my home
2nd port on gateway (VLAN 2) - 192.168.2.xxx Which is only hooked up to the NVR.