Network Segmentation and Vlans
11 hours ago, Bdavis said:Over the past few weeks I have been slowly organizing and segmenting my network layout. I feel I have a pretty good layout but what was wondering best practices for separating devices using Vlans.
Here's a list of my devices. I use PfSense and ubiquiti managed switches and access points just FYI.
-trueNAS server 1 with plex, ubiquiti controller, and home assistant.
-trueNAS server2 (backup in another building via ptp)
- personal desktop
- smart light switches
- ipmi for both servers
- fire TV's
- echo dots
- security cameras
- smart phones
- kids tablets
- printers
- smart thermostats
How would you separate all of this? My main issue is the TrueNAS Scale server. I want it to be secure, but it needs to interact with all my smart home stuff for plex and home assistant.
But back to actually helping OP…
You definitely want a VLAN for IoT devices. Stick them all on a subnet with no access to any other subnet. If you need to punch holes for things like Plex, or use avahi for mDNS translation across the subnets, go ahead and do that. I have my network set up this way, and I can chromecast from my private subnet just fine, and Plex clients and talk to my Plex server via firewall rules for specific ports and specific IP’s.
I would then have a subnet just for management surfaces (pfsense webui, NAS webui (assuming your NAS itself isn’t a garbage tier IoT device itself and is actually secure), networking management like UniFi controller, and hypervisor for virtualization environments. Don’t let anything talk to this subnet except for what is required to do management. Ideally, it would be only accessible via enabling a VPN or via plugging in to a specific port on your firewall, but this makes it such a pain to use, so, that’s a hard one. But definitely don’t allow IoT devices touch the management subnet.
This would be a good way to get you going in the right direction. I also have a homelab subnet just for all my VM’s and docker containers etc.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now