Hey Will,
I run a similar setup using a Unifi Dream Machine Pro and a managed (Cisco) switch. Instead of separating the cameras from Camect, run them on the same VLAN and create rules for the traffic you want.
- All cameras and the Camect are on VLAN30 (with default / desktop VLAN being 1).
- A group of ports on my Cisco core switch use VLAN30 as the primary VLAN and allow no other VLANs.
- Each camera is configured with a static IP address outside of the DHCP range for VLAN30. Camect grabs the first IP address lease in the DHCP range and I configure it to be a static DHCP lease in Unifi.
- In your Unifi Console, under Security, then Traffic and Firewall Rules, add rules appropriate to your desired traffic pattern:
- I have one rule blocking all internet access to VLAN30. This prevents the cameras from reaching the internet.
- The other rule allows internet access only to one device (the Camect hub). This allows web access.
- By default, Unifi allows access between all VLANs, so these rules are just blocking internet access. I can still access cameras on the primary VLAN without an issue. You can easily write additional rules to further restrict inter-VLAN access as desired.
I hope this helps - happy to provide more details if necessary!
Mitch