UniFi Lab 07
ZBF Gateway block
IoT associates. Trunk is fine. Still No IP. Zone policy is blocking the Gateway path.
Your job: allow IoT → Gateway for DHCP and DNS, keep External if needed, leave IoT → LAN denied.
Run: Gateway block · WAN allow · LAN block
Lab complete. Lease is on IoT. LAN stays denied.
lease_ok_lan_deniedLease ok, LAN deniedPath and policies
Trunk locked healthy- GatewayZone Based FirewallOnline
- TrunkNative LAN · Tagged IoT
- Switch + APUplink trunk locked healthyOK
- IoT SSIDVLAN 30
- IoT clientSTOPPhone / sensor on IoTNo IP · Gateway blocked
Zone policies IoT source
| Destination | Policy | Need |
|---|---|---|
| Gateway | Block | DHCP / DNS |
| External | Allow | Internet |
| Internal / LAN | Block | Stay denied |
IoT client
VLAN 30| SSID / VLAN | IoT · 30 |
|---|---|
| IP | No IP |
| DNS | Unreachable |
| Internet | No internet |
| LAN reach | Denied |
Legend
- Allow / healthy
- Block / No IP
- LAN exposed (blocks win)
Controls
Trunk and port profiles stay locked. ZBF only.
Out of scope for this lab
Why this fails
Gateway blockedNo IP
Blocking IoT → Gateway also blocks DHCP and DNS to the router. The phone can associate. The lease never completes. External allow alone is not enough.
Why Broken and Fixed
Console words
- No IPShowing
- DNS unreachableClear
- Traffic blocked by firewallClear
- Isolated from LANClear
- LAN exposedClear
- Lease ok, LAN deniedClear
Before and after
Diff rows marked| Setting or symptom | Broken start | Now |
|---|
Gear in this lab
- 1 Cloud Gateway / UDM class
- 1 Switch + AP (trunk ok)
- 1 IoT client on VLAN 30
Config only. Counts only, no prices.
Takeaway
Allow Gateway for DHCP and DNS. Keep LAN denied.
Blocking IoT → Gateway kills the lease. External allow alone is not enough. Opening IoT → LAN papers over isolation and fails this lab.
- Confirm the trunk is already healthy (Labs 01 and 04).
- Allow IoT → Gateway for DHCP and DNS.
- Allow IoT → External when the client needs internet.
- Keep IoT → LAN denied. Isolation stays.
Want IoT and Guest zones designed for your place? We plan that as part of a UniFi install.
Related labs
All labs /labs
A teaching lab, not a quote and not a design for your site. Settings are simplified from the UniFi Network app. No account, and nothing from this lab is saved.