Skip to main content How to set up a no internet access VLAN for IP Cameras : r/frigate_nvr
Go to frigate_nvr
•

How to set up a no internet access VLAN for IP Cameras

This is my setup currently: network diagram

Hardware:

Software:
I'm running Ubuntu 22.04.3 on the server with Frigate running on a docker container.

My objective is to make sure the camera cannot access the internet.

I created 2 VLANs in the switch:

  • VLAN1 with the ports to which router, my PC and the server NIC1 are connected

  • VLAN2 with the ports to which the server's NIC2 and the IP Camera are connected

Everything works before I create the the VLANs. The moment I create the VLANs frigate stops showing a video feed. I am no longer able to access the RTSP stream of the camera from the server.
I tried setting the IP addresses of the Camera and server explicitly in the network settings, but still no luck.

What mistake am I making? I went through the settings available on my switch and it doesn't have any way to set individual IPs for individual ports/mac addresses or to setup rules for incoming/outgoing traffic. It was marketed as a "Easy Smart PoE switch". Did I get the wrong kind of switch?

Any help would be much appreciated.

Stay productive and balanced with Opera Air—where mindfulness meets browsing
Sort by:
Best
Open comment sort options

You appear to be using the same /24 network across both VLANs? If so, the Frigate server isn't going to know which NIC is on which VLAN.

Change the addresses in VLAN2 to 192.168.2.x/24 and try again.

Thanks!! works perfectly now.

More replies