Homelab Vlan Segmentation
Step-by-step VLAN segmentation for home networks covering UniFi, pfSense/OPNsense, and MikroTik configurations.
- CCM score
- 75 of 100
- skills.sh installs
- 8.6K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers splitting a flat home network into trusted, IoT, servers, guest, and management VLANs with isolation rules
- Includes switch trunk and access port layouts, SSID-to-VLAN mapping, and DHCP setup for each segment
- Enforces blocks from IoT and guest segments into local RFC1918 ranges while allowing internet access and specific exceptions like Pi-hole DNS
- Designed for homelab owners configuring UniFi, pfSense/OPNsense, or MikroTik gear in a maintenance window
Install
$ npx -y skills add affaan-m/ecc --skill homelab-vlan-segmentation -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/affaan-m/ecc
- Category
- DevOps & Cloud
- First seen
- Jul 14, 2026
Questions
What does the homelab-vlan-segmentation skill help with?
It helps split a home network into isolated VLANs for IoT, guest, trusted, and server traffic, so IoT devices and guests cannot reach your main PCs. It covers switch trunk configuration, firewall rules, and wireless SSID mapping on UniFi, pfSense/OPNsense, and MikroTik.
Who is this skill for?
It is aimed at people setting up VLANs on a home network or homelab for the first time. It also suits anyone isolating smart home devices or creating a guest Wi-Fi that cannot see home devices.
How do I install the homelab-vlan-segmentation skill?
Run npx -y skills add affaan-m/ecc --skill homelab-vlan-segmentation -y in your project. Once installed, the agent can walk you through VLAN design, SSID-to-VLAN mapping, and firewall rules for your router platform.
Which network platforms does this skill cover?
The skill covers UniFi, pfSense/OPNsense, and MikroTik, with configuration steps for each. It gives example VLAN layouts, DHCP setup, and firewall rules for these platforms.
More from affaan-m/ecc
All 257- Quarkus Security8.6K
- Quarkus Tdd8.6K
- Tinystruct Patterns8.6K
- Homelab Pihole Dns8.6K
- Quarkus Verification8.6K
- Prisma Patterns8.5K
- Fsharp Testing8.5K
- React Patterns8.5K
- React Testing8.5K
- React Performance8.5K
- Frontend A11y8.4K
- Recsys Pipeline Architect8.2K
- Marketing Campaign8.1K
- Uncloud8.1K
- Benchmark Optimization Loop7.8K
- Social Publisher7.8K
- Latency Critical Systems7.8K
- Parallel Execution Optimizer7.7K
- Prediction Market Risk Review7.7K
- Data Throughput Accelerator7.7K
- Prediction Market Oracle Research7.7K
- Recursive Decision Ledger7.7K
- Team Agent Orchestration7.3K
- Dynamic Workflow Mode7.1K
Similar to Homelab Vlan Segmentation
More DevOps & Cloudhomelab-network-setupSkillaffaan-m/ecc8.8K installsPractical home and homelab network planning covering gateways, IP ranges, DHCP, DNS, and cabling for growth.
homelab-network-readinessSkillaffaan-m/ecc8.7K installsPre-change readiness checklist for homelab VLAN segmentation, local DNS filtering, and VPN access.
UniFi Network MCPMCP serversirkirby1.1K starsRemote control of UniFi Network gear: devices, clients, firewall, VLANs, VPNs, and statistics.
UniFi GatewayMCP serverpete-builds34 starsSafe-by-default access to a self-hosted UniFi gateway: network, Protect, and Access data with audit logs.
digitalocean-networkingSkillbobmatnyc/claude-mpm-skills425 installsDigitalOcean networking reference covering VPC, firewalls, load balancers, reserved IPs, DNS, IPv6, and NAT gateway.