Skip to content
Dorian FINKEL
Network security#05

VLAN segmentation & zero-trust policy

A flat network split into more than ten purpose-based VLANs, with an allow-list inter-VLAN firewall: each zone only sees what it needs.

Year2025
RoleDesign & deployment
  • 10+ VLANs
  • Inter-VLAN allow-list
  • Admin over VPN

Problem

Servers, workstations, IoT devices and guests shared one network: a single compromised device could scan and reach everything else.

Solution

VLANs per function (admin, servers, lab, IoT, cameras, guests), 802.1Q trunks to the UniFi core switch, one SSID per zone, per-VLAN DHCP and DNS, and “deny all” firewall rules with explicit exceptions.

Architecture

Zones
Switching
Filtering
Administration

Tap an element to see its role, or follow a path.

Outcome

IoT devices are isolated, the admin network is only reachable over VPN, and every allowed flow is documented and justified.
10+10+
segmented VLANs
00
IoT → admin flows

Key steps

  1. 01

    Device inventory and mapping of the flows actually needed

  2. 02

    Per-zone addressing plan and VLAN naming

  3. 03

    Trunks, port profiles and SSIDs

  4. 04

    Allow-list firewall rules, most restrictive first

  5. 05

    Leak tests: nmap scans from every VLAN to every other

In the notebook

Stack

UniFi Network802.1QL3/L4 firewallDHCP / DNSmDNS reflector