Kernaali Tools
UniFi

Ubiquiti UniFi Guest & IoT Network Isolation

Choose gateway policy, switch ACLs and WiFi client isolation according to the traffic you need to block or retain.

Write down who may initiate a connection

Use three networks with distinct subnets: Trusted, IoT and Guest. A sensible home/office design lets trusted users reach selected IoT services, prevents IoT devices from initiating sessions to trusted computers, and gives guests Internet access without local access. A camera-only network may need no Internet at all. The rules should express that difference.

New connectionExample intentRequired exception
Trusted → IoTOnly selected controllers to devicesSpecific service IPs and ports
IoT → TrustedBlockReplies to permitted sessions remain allowed
Guest → local networksBlockNo casting access in this design
IoT / Guest → GatewayOnly necessary infrastructureDHCP, designated DNS; no management
IoT / Guest → InternetAccording to device purposeReview outbound dependencies

Choose the enforcement point

FeatureWhere it actsLimit to remember
Network IsolationGateway-generated inter-VLAN firewall policyNot a full same-VLAN client boundary
Zone-Based FirewallRouted traffic at UniFi gatewayRequires correct zone assignment and return rules
Device Isolation / ACLSupported switch pathHardware and topology support matter
WiFi Client Device IsolationBetween wireless clients on the same APNot proof of isolation across all APs and wired paths

For straightforward inter-VLAN blocking, Network Isolation can provide the initial policy. For selected controller-to-device access and VPN scope, explicit zone rules are easier to reason about. Avoid stacking overlapping mechanisms without knowing which one blocks a packet; an ACL can stop a flow before it reaches an otherwise correct gateway allow rule.

Guest access and same-VLAN tests

Enable AP client isolation where guests do not need peer communication, then verify the whole path. Test two clients on one AP, clients on different APs, and a wireless client against a wired host on the same VLAN. Add appropriate supported switch ACL isolation where required. A captive portal is an access workflow; it is not a substitute for traffic separation.

Check switch-model ACL support before relying on it. The current isolation documentation also notes that device/switch isolation controls depend on a network routed by a UniFi gateway or L3 switch. A third-party gateway design needs its own enforcement review.

Discovery is a separate permission

mDNS normally stays on the local link. UniFi’s mDNS proxy can repeat selected discovery across networks, but discovery alone does not allow the subsequent unicast service connection. For a trusted phone to control an IoT speaker, scope discovery to the needed networks/services and separately allow the controller-to-speaker traffic.

Do not make the Guest VLAN a participant merely because casting works elsewhere. Client isolation or multicast restrictions can prevent discovery on a single VLAN too. Document the intended exception, test with the actual product, and keep the rest blocked.

Prove the design

Run an allowed service test and a blocked new-session test for each row in your plan. Repeat on IPv6 where provisioned. Check management access from a trusted recovery device before committing gateway restrictions. If a feature breaks, locate the failed discovery or service flow instead of disabling every isolation layer.

These guides use the current UniFi Network concepts. Menu wording and location vary by release; check the policy’s actual scope and result. Kernaali Tools is not affiliated with Ubiquiti.

Technical references

Found an issue? Send a correction with a reproducible example.