VLAN Segmentation¶
Why Segment?¶
A flat home network puts every device on the same broadcast domain. Your work laptop, your kids' tablets, your IoT cameras, and a guest's phone all share the same network. If any one device is compromised, the attacker can reach everything.
VLANs solve this by creating separate network segments that can only communicate through firewall rules. A compromised IoT camera can't scan your trusted devices because the firewall blocks inter-VLAN traffic by default.
The Five VLANs¶
graph LR
subgraph V10["VLAN 10 — Management"]
V10_DESC["Proxmox Nodes · NAS<br/>UniFi switches & APs<br/>All services"]
end
subgraph V20["VLAN 20 — Trusted"]
V20_DESC["Workstations<br/>Mobile Devices<br/>VPN Clients"]
end
subgraph V30["VLAN 30 — IoT"]
V30_DESC["PoE Cameras<br/>Smart Home Devices"]
end
subgraph V50["VLAN 50 — Guest"]
V50_DESC["Guest Wi-Fi<br/>Internet Only"]
end
subgraph V60["VLAN 60 — WireGuard"]
V60_DESC["VPN Tunnel<br/>Remote Access"]
end
VLAN 10 — Management¶
The crown jewels. Only infrastructure lives here: Proxmox nodes and every service guest, the NAS, the UniFi switches and APs, and UniFi OS Server. No user devices. Access is restricted to the Trusted and WireGuard VLANs via firewall rules.
VLAN 20 — Trusted¶
Personal devices that need full network access: workstations, laptops, phones. Can reach the Management VLAN (for admin tasks) and the internet. This is where you land when connecting to the primary WiFi SSID.
VLAN 30 — IoT¶
Cameras, smart plugs, smart speakers, anything with questionable firmware. Heavily restricted: can reach the local DNS and NTP on the firewall and (for devices that need it) the internet, but cannot reach any private network. Devices that work fully locally — smart plugs, the light strip, the 3D printer — have their internet access blocked too. See Firewall Rules for the specific deny rules.
VLAN 50 — Guest¶
Visitor WiFi. Internet access only — no access to any internal network. Separate DHCP scope, separate DNS, completely isolated.
VLAN 60 — WireGuard¶
The VPN tunnel interface. Remote clients land here and firewall rules grant them access to the Management VLAN, effectively giving them the same access as being on the Trusted network.
Inter-VLAN Traffic Matrix¶
| Source → | Management | Trusted | IoT | Guest | WireGuard |
|---|---|---|---|---|---|
| Management | ✅ | ✅ | ✅ | ❌ | ✅ |
| Trusted | ✅ | ✅ | ✅ | ❌ | ✅ |
| IoT | ❌ | ❌ | ✅ | ❌ | ❌ |
| Guest | ❌ | ❌ | ❌ | ✅ | ❌ |
| WireGuard | ✅ | ✅ | ✅ | ❌ | ✅ |
✅ = Allowed ❌ = Blocked by firewall
Design Decision: VLAN ID = Third Octet¶
Making VLAN 10 map to 10.0.10.0/24, VLAN 20 to 10.0.20.0/24, etc. was deliberate. When you see an IP address in a firewall log, you immediately know which segment it belongs to without looking anything up. It also makes subnet calculations trivial and reduces configuration errors.