What does this skill do?

The VLAN Segmentation for Homelab Skill guides you step by step through dividing a flat home network into multiple isolated VLANs, separating IoT devices, guests, trusted devices, and servers. It includes practical examples for UniFi, pfSense/OPNsense, and MikroTik, featuring firewall rules, SSID mapping, and isolation verification to prevent a compromised device from accessing the entire network.

Isolating IoT Devices
Keep light bulbs, cameras, and smart TVs separate from your trusted devices to prevent a compromised device from gaining access to your entire network.
Secure Guest Network
Set up a Wi-Fi network for guests that provides internet access only, without the ability to connect to your local devices.
Configure Ports and SSID
Configure trunk and access ports on the switch and associate each SSID with its corresponding VLAN (Home → VLAN 10, IoT → VLAN 20, Guests → VLAN 40).
Resolving Inter-VLAN Routing
Diagnose routing issues between segments and adjust firewall rules in UniFi, pfSense/OPNsense, or MikroTik.

Usage examples

🎯 Topology Design
Design a VLAN topology for my homelab with four segments: trusted, IoT, servers, and guests.
🌐 UniFi Settings
Set up VLANs on my UniFi network to separate IoT devices, servers, and guests using SSID mapping.
🔒 Firewall Rules in pfSense
Create firewall rules in pfSense so that the IoT VLAN can only access Pi-hole and the internet.
⚙️ MikroTik Configuration
Set up a bridge with VLAN filtering on MikroTik and block traffic from the IoT VLAN to the trusted VLAN.

Features

VLAN Topology Design Define VLANs by function with dedicated subnet ranges: Trust (VLAN 10), IoT (VLAN 20), Servers (VLAN 30), and Guests (VLAN 40).
Cross-platform support Practical examples and ready-to-use configurations for UniFi, pfSense/OPNsense, and MikroTik with actual syntax.
Inter-VLAN Firewall Rules By default, it blocks unauthorized traffic between VLANs and creates exceptions for shared services such as Pi-hole DNS.
SSID-to-VLAN Mapping Associate each Wi-Fi network with its corresponding VLAN, with separate passwords and configurable access levels.
Insulation Test Connectivity tests between segments to confirm that isolation is working properly.

Frequently asked questions

It includes practical examples for UniFi, pfSense/OPNsense, and MikroTik. The segmentation methodology can be applied to any managed switch that supports VLANs.
Yes, you need a managed switch that supports 802.1Q VLANs and a router or firewall that allows you to create VLAN interfaces and inter-VLAN firewall rules.
Yes. This skill shows how to create firewall exceptions to allow a VLAN to access only specific services, such as Pi-hole DNS (port 53), without exposing the rest of the network.
The skill recommends using a dedicated, unused VLAN (e.g., VLAN 999) for unlabeled native traffic, avoiding the use of the same VLAN for management and native traffic.
VLAN Segmentation for a Home Lab — Network Isolation with Claude AI

¿Prefieres escuchar el contenido? Genera la narración de audio con un clic.