By Jeremy Koski · September 16, 2026
Every smart device you add to your home is another potential entry point for an attacker. A compromised smart bulb on the same network as your laptop can give an attacker a foothold to pivot into everything else. The solution is not to avoid smart home technology, but to segment, isolate, and control your network so that a breach in one device does not become a breach of your entire home. This guide covers the practical steps you can take to lock down your smart home network.
VLAN segmentation is the single most effective thing you can do to secure a smart home. A VLAN (Virtual Local Area Network) divides your network into isolated zones. Devices in one VLAN cannot communicate with devices in another unless you explicitly allow it.
At minimum, create three VLANs:
For more advanced setups, add a fourth VLAN for security cameras, since cameras are frequent targets and often have weak firmware. Use firewall rules to prevent the IoT VLAN from initiating connections to the Trusted VLAN, while still allowing your Home Assistant server (on the Trusted VLAN) to reach IoT devices.
Most business-grade routers (Ubiquiti UniFi, OPNsense, pfSense) support VLANs out of the box. Consumer routers like ASUS and Netgear also offer guest network isolation, which is a simplified version of the same concept.
This is the most basic step, and it is still the most common point of failure. Every smart device ships with a default admin password. Attackers have databases of these passwords and automated scanners that look for devices still using them.
UPnP (Universal Plug and Play) lets devices on your network automatically open ports on your router without your knowledge. This is convenient for the device manufacturer but dangerous for you. A compromised IoT device can use UPnP to open a port to the internet, giving an attacker direct access.
Disable UPnP in your router settings. If a device needs an inbound port, open it manually and only for the specific device and port required. This takes more effort, but it means you know exactly what is exposed to the internet at all times.
Firmware updates patch security vulnerabilities. Many smart home devices do not auto-update, and some manufacturers stop releasing updates after a year or two. Here is how to stay on top of it:
Every smart home device either processes data locally or sends it to a cloud server. Local processing keeps your data inside your home and keeps your devices working when the internet goes down. Cloud-dependent devices stop working if the manufacturer has an outage, changes their API, or goes out of business.
Home Assistant, Hubitat, and HomeKit process automations locally. Zigbee and Z-Wave devices communicate over a local mesh network. Your data stays in your house, and your automations work without internet. This is the model we recommend.
Tuya, many WiFi cameras, and most Alexa/Google automations depend on cloud servers. If those servers go down, your devices stop responding. If the manufacturer discontinues a product line, your devices may become paperweights. Use these when necessary, but keep them on an isolated VLAN.
Do not expose your smart home devices or Home Assistant directly to the internet. Port forwarding port 8123 to your Home Assistant instance is asking for trouble. Instead, use a VPN to connect back to your home network when you are away.
WireGuard is fast, lightweight, and well-suited for mobile devices. Tailscale builds on WireGuard and makes setup nearly automatic. With a VPN, you connect to your home network over an encrypted tunnel, and then you can access Home Assistant, your cameras, and your NAS as if you were on the local network.
For a detailed walkthrough of VPN setup, see our guide on tech basics and VPN. For a deeper dive into WireGuard vs OpenVPN vs Tailscale, read our post on VPN remote access for your home network.
If you want a pre-configured security kit that includes network monitoring, intrusion detection, and smart home integration, our Guardian AI Kit is built for exactly this. It monitors your network for unusual activity, alerts you to potential intrusions, and integrates with Home Assistant for automated responses.
If you want help setting up VLAN segmentation, VPN access, and device hardening on your network, book an on-site visit and we will assess your network, configure your router, and secure your devices.
For more on how we approach technology decisions, read our post on why we keep using AI that breaks things.