On my network, I have quite a few VLANS.
One for work, one for IoT devices, one for security cameras and home automation, one for Guests, etc.
I typically keep everything inward facing, with the only way to access them via my OpenVPN connection (which only can see specific services on specific VLANs).
Recently, I thought of hosting a little Lemmy instance, since I have a couple domains I’m not doing much with.
I know I can just expose that one system/NGINX proxy and the necessary ports via WAN, but is it best practice to put external facing things on their own VLANs?
I was thinking of just throwing it on my IoT VLAN, but if it were to be compromised, it would have access to other devices on that VLAN because (to my knowledge) you cannot prevent communication between clients within the same VLAN.
Is just exposing it via a Cloudflare Zero Trust tunnel enough for security?
(Serious question that I don’t know the answer to, as this is what I’m currently considering for a project.)
From what I’ve read about Cloudflares Zero Trust Tunnel thing it’s actually more secure than hosting it with a public IP address.
To be clear I haven’t done it. So idk for sure. But it sounds like they use some kinda 2fa system to get to your services, you don’t expose a public IP, and it’s all behind Cloudflares service. Which is great for security. If you trust Cloudflare. I trust Cloudflare, but some folks might not.
I might check this out as a weekend project tho. See how it differes from my setup with vlans, VM’s, firewalls and fail2ban.