Secure Multi-VLAN Homelab Network Architecture

Reference Blueprint for Segmented Home & Lab Networks
💡 Click on any component or VLAN zone for technical specifications & security policies
🌐 WAN / ISP Uplink Public IPv4/IPv6 · Passthrough Mode 🛡️ Firewall & Gateway Router (Firewalla Gold Plus / OPNsense) Default Gateway for All Subnets ([IP hidden]) · 4x 2.5GbE Multi-Gig Ports WireGuard Server (No Open Ports) · Ad/Family DNS Filtering · Stateful Inter-VLAN Rules 802.1Q Trunk (VLANs 10, 20, 30, 40, 125) 🔀 Managed PoE Core Switch (UniFi USW-Lite-8-PoE) 802.1Q Port Profile Tagging · 802.3at PoE+ Power Delivery Port 1: Trunk Up | Port 2-3: AP PoE Trunks | Port 4: Infra Access | Port 5: Compute Trunk 📡 UniFi U7 Pro (Wi-Fi 7 AP) Multi-SSID: Home-Trusted (5/6GHz) & Home-IoT (2.4GHz) Mgmt IP: [IP hidden] | VLAN BSSID Tagging ⚙️ VLAN 125 — UniFi Management Subnet: [IP hidden] · Isolated Network Gear DHCP Opt 43 → Controller IP for Auto-Adoption 🔒 VLAN 10: IoT Zone Subnet: [IP hidden] [STRICT ISOLATION POLICY] • Smart Plugs & Kasa Switches • Smart Bulbs, Vacuums, TVs ✕ Blocked to [IP hidden] ✓ Inbound from Trusted (20) ✓ Inbound from HA Hub (30) ✓ DNS/NTP to Gateway only 💻 VLAN 20: Trusted Zone Subnet: [IP hidden] [PRIMARY CLIENT NETWORK] • Laptops, Smartphones, Tablets • Gaming PC, AVR / Media Gear ✓ Full Outbound Internet ✓ Can reach IoT (10) locally ✓ Admin Access to Compute (40) ✓ Protected by Gateway AdBlock 🏠 VLAN 30: Smart Infra Subnet: [IP hidden] [AUTOMATION CONTROL PLANE] • Home Assistant Green Hub • Irrigation/Smart Bridges ✓ Polls IoT devices on VLAN 10 ✓ Local-First API control ✓ Accessible on Port 8123 ✕ Isolated from Personal PCs ⚡ VLAN 40: Compute / Lab Subnet: [IP hidden] [SERVER & AGENT HOSTING] • Mini PC (Hypervisor / VMs) • Docker, UniFi App, Agent AI ✓ High-Speed Internal Routing ✓ Calls HA API on VLAN 30 ✓ Runs UniFi Controller (:8443) ✓ Secure SSH / Remote Console
WAN / Uplink
Gateway / Security
Core Switching / Distribution
VLAN 10: IoT (Isolated)
VLAN 20: Trusted Clients
VLAN 30: Smart Infra
VLAN 40: Main / Compute
VLAN 125: UniFi Mgmt

1. Gateway Security & Ingress

  • No Open Inbound Ports: Zero WAN port forwarding. All remote management runs strictly through WireGuard VPN.
  • Gateway-Level Filtering: Built-in DNS blocking for malware, ads, and telemetry before traffic hits devices.
  • Stateful Inspection: Inter-VLAN rules default to DROP unless initiated from an authorized subnet.

2. Zero-Trust IoT Isolation

  • Dedicated 2.4GHz SSID: `Home-IoT` handles legacy smart device Wi-Fi chips without degrading 5GHz/6GHz clients.
  • Internal Boundary: Devices on VLAN 10 cannot initiate connections to any other private subnet (VLAN 20, 30, 40).
  • DNS/NTP Scoping: IoT gear is restricted to querying the gateway DNS/NTP services only.

3. Homelab & Smart Hub Synergy

  • Local-First Control: Home Assistant Green (VLAN 30) communicates with IoT devices via local LAN / Zigbee without cloud delays.
  • UniFi Management Separation: APs and Switches reside on VLAN 125, using DHCP Option 43 for controller auto-discovery.
  • Dedicated Compute: Servers & AI agents run on VLAN 40 with direct API connectivity into the smart home.

Hardware at a glance

Firewalla Gold Plus
Firewall and routing · 4 × 2.5 GbE, quad-core Intel CPU, 4 GB RAM, 32 GB storage
UniFi USW-Lite-8-PoE
Managed switch · 8 × 1 GbE, 4 PoE+ ports, 52 W shared PoE budget
UniFi U7 Pro
Wi-Fi 7 access point · 2.4, 5 and 6 GHz radios, 2.5 GbE uplink, PoE+
Home Assistant Green
Automation hub · Rockchip RK3566 quad-core ARM, 4 GB RAM, 32 GB eMMC, 1 GbE
Beelink mini PC / VMware
Hermes Ubuntu VM · 4 vCPUs and 15 GB RAM allocated to the VM
Onkyo TX-RZ50
AV receiver · integrated with Home Assistant for media control