Here’s a quick recipe for letting your Wiz bulbs live on your LAN but never touch the Internet. You can pick whichever method you like best—via LuCI (the web-UI) or via CLI—both boil down to the same thing: identify your bulbs (by MAC or static IP) and then DROP/REJECT any traffic from them to the WAN zone.
1. Prerequisites
Make sure your bulbs are on your LAN and have either static IPs or DHCP leases you can pin.
Note down their MAC addresses (e.g. AA:BB:CC:DD:EE:FF).
Fill in:
• Name: Block-Wiz-to-WAN
• Protocol: any
• Source zone: lan
• Source MAC address: AA:BB:CC:DD:EE:FF
• Destination zone: wan
• Action: REJECT (or DROP)
Save & Apply.
Repeat for each bulb (or use a MAC-based ipset for multiple lamps at once).
3. Method B: CLI (uci)
SSH into your router and run (one block-rule per MAC):
bash
# Block all traffic from AA:BB:CC:DD:EE:FF going to WAN
uci add firewall rule
uci set firewall.@rule[-1].name='Block-Wiz-1'
uci set firewall.@rule[-1].src='lan'
uci set firewall.@rule[-1].src_mac='AA:BB:CC:DD:EE:FF'
uci set firewall.@rule[-1].dest='wan'
uci set firewall.@rule[-1].proto='all'
uci set firewall.@rule[-1].target='REJECT'
uci commit firewall
/etc/init.d/firewall restart
If you have more bulbs, repeat with new names and MACs (e.g. Block-Wiz-2…).
4. (Optional) Group-based approach with ipset
If you have a bunch of lamps, it’s cleaner to put them in an ipset:
bash
# 1) Create an empty ipset
uci set firewall.wizset='ipset'
uci set firewall.wizset.name='wiz_lamps'
uci set firewall.wizset.match='mac'
uci set firewall.wizset.storage='hash'
uci commit firewall
# 2) Add MACs to that set
uci add_list firewall.wizset.maclist='AA:BB:CC:DD:EE:FF'
uci add_list firewall.wizset.maclist='11:22:33:44:55:66'
uci commit firewall
# 3) Add a single rule that drops everything from that set to WAN
uci add firewall rule
uci set firewall.@rule[-1].name='Block-Wiz-Set'
uci set firewall.@rule[-1].src='lan'
uci set firewall.@rule[-1].ipset='wiz_lamps'
uci set firewall.@rule[-1].dest='wan'
uci set firewall.@rule[-1].target='REJECT'
uci commit firewall
/etc/init.d/firewall restart
5. Testing
From a different LAN-host, try to ping or curl the bulb’s local IP → should work.
Try to ping 8.8.8.8 from the bulb (you may need a packet-capture or firewall log) → should fail.
With this in place, your Wiz lamps will still be on your Wi-Fi and reachable locally (so your Automations keep working), but any attempt to phone home to the cloud or download updates will be blocked at the router. 🚫🌐