
Homelab Vlan Segmentation
If you've ever wanted to stop your smart TV from scanning your entire home network or keep guests off your NAS, this walks you through proper VLAN segmentation with real firewall rules and switch configs. It covers UniFi, pfSense/OPNsense, and MikroTik with concrete examples like mapping SSIDs to VLANs, setting up trunk ports, and blocking RFC1918 traffic while still allowing IoT devices to hit your Pi-hole for DNS. The firewall rule ordering is especially good, it explicitly shows why the Pi-hole exception has to come before the blanket RFC1918 block. Best used when you're moving past a flat 192.168.1.0/24 network and need isolation without breaking everything.
- skills.sh installs
- 5.4K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill homelab-vlan-segmentation --agent claude-codeInstalls into .claude/skills of the current project.
Files
Homelab VLAN Segmentation
How to split a home network into isolated VLANs so IoT devices, guests, and your main PCs cannot talk to each other. The most impactful security upgrade for a home network.
All firewall rules shown here add isolation between segments — they do not remove existing protections. Apply changes in a maintenance window and verify connectivity between segments after each step before moving on.
When to Use
- Setting up VLANs on a home network for the first time
- Isolating IoT devices (smart bulbs, cameras, TVs) from trusted devices
- Creating a guest Wi-Fi network that cannot reach home devices
- Explaining how VLANs work to someone unfamiliar with the concept
- Configuring trunk ports, access ports, and SSID-to-VLAN mapping
- Troubleshooting inter-VLAN routing or firewall rule issues on pfSense/OPNsense/UniFi
How It Works
Without VLANs — flat network:
All devices on 192.168.1.0/24
Smart TV (potential malware) → can reach your NAS, PCs, everything
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Backend & APIs, Marketing & SEO
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Gateguard5.4K
- Workspace Surface Audit5.4K
- Plan Orchestrate5.4K
- Production Scheduling5.4K
- Automation Audit Ops5.4K
- Canary Watch5.4K
- Healthcare Eval Harness5.4K
- Laravel Plugin Discovery5.4K
- Lead Intelligence5.4K
- Team Builder5.4K
- Cisco Ios Patterns5.4K
- Logistics Exception Management5.4K
- Email Ops5.4K
- Santa Method5.4K
- Carrier Relationship Management5.4K
- Enterprise Agent Ops5.4K
- X Api5.4K
- Rules Distill5.4K
- Content Hash Cache Pattern5.4K
- Network Config Validation5.4K
- Dmux Workflows5.4K
- Quarkus Patterns5.4K
- Ecc Tools Cost Audit5.4K
- Foundation Models On Device5.4K