Note: This post was originally written on July 4, 2016, and updated on November 24, 2026, for WPA3, modern smart-home IoT isolation, and Pi-hole DNS filtering.
Years ago, I was sitting outside in front of my house with my neighbor when he pressed a button on his laptop and my garage door opened. How the hell did he do that? A few days earlier, I had set up some wireless security cameras using a smartphone app that sent my Wi-Fi password to the camera completely unencrypted. I had basically broadcast my Wi-Fi password to the street, and my neighbor was listening.
That is the reality of smart homes. Everything from door locks to thermostats and TVs connects to your network now, and most of it ships with terrible security defaults. A good rule of thumb is that if it has an operating system, it can be hacked. Try as you might, you are not going to hack my red Swingline stapler, but your smart thermostat is another story. Here is how to lock down your home network without ripping out all your smart gear.
Use WPA3 and Turn Off WPS (If Your Router Still Has It)
Most higher-end and prosumer gear, like UniFi, does not include Wi-Fi Protected Setup (WPS) at all anymore, and plenty of newer routers have dropped it too. Still, older consumer routers and ISP-provided gateways often ship with it enabled.
If your router has a WPS option, turn it off because the eight-digit PIN fallback can be brute-forced. Use WPA3-Personal if all your devices support it, or WPA2/WPA3 Transition Mode with AES encryption if you have older smart-home gear that refuses to connect to pure WPA3. Never use legacy TKIP or WEP, and pick a long, unique passphrase that you do not reuse anywhere else.
Put Guests on a Guest Network
When friends or family come over and ask for the Wi-Fi password, do not hand out the password to your main network. It is not just about trusting your guests. If someone loses their phone or brings a laptop loaded with malware onto your main LAN, that device now sits right next to your NAS, your workstations, and your smart locks.
Almost every modern router and mesh system lets you spin up a Guest Wi-Fi network in a couple of minutes. Enable Client Isolation (sometimes called AP Isolation) on that guest SSID so devices on the guest network can reach the internet but cannot see each other or anything on your primary LAN.
Segment IoT Devices onto Their Own VLAN
If you want real separation between your computers and your smart-home gear, a consumer router from a big-box store usually hits a wall. To run Virtual Local Area Networks (VLANs), you need a VLAN-aware router or firewall (like OPNsense, pfSense, or UniFi) paired with a managed switch and access points that support multiple SSIDs mapped to VLAN tags.
A VLAN lets you run separate logical networks over the same physical hardware. Instead of dumping every device into one flat subnet, you can split your home into three zones:
| Network / VLAN | Example Subnet | Who Goes Here | Access Rules |
|---|---|---|---|
| Trusted LAN | 192.168.10.0/24 | PCs, phones, NAS, servers | Full LAN and internet access; can reach management interfaces. |
| IoT / Smart Home | 10.10.20.0/24 | Cameras, smart TVs, thermostats, plugs | Internet access only (plus client isolation); blocked from initiating connections to Trusted LAN. |
| Guest Wi-Fi | 172.16.30.0/24 | Visitors and untrusted devices | Internet access only with client isolation enabled; zero LAN visibility. |
If a cheap smart camera gets compromised, the attacker is stuck inside the IoT VLAN with nowhere to go. You can still allow your phone on the Trusted LAN to initiate connections to an IoT device (like casting to a TV) by writing stateful firewall rules, while blocking the IoT VLAN from ever reaching back into your Trusted LAN.
Filter DNS and Keep Your Firewall Closed
Once your networks are segmented, add a Pi-hole (or AdGuard Home) instance as your network’s DNS server. Blocking ads and known malicious or tracking domains at the DNS level protects every device on your network, including smart TVs and appliances that cannot run browser extensions.
Finally, resist the urge to poke holes in your firewall. Do not forward ports on your router just to view security cameras or reach your homelab from outside the house. If you need remote access, use a WireGuard VPN or Tailscale so your services stay invisible to port scanners on the open internet.
Wrapping Up
Securing a home network comes down to assuming that at least one device on your Wi-Fi will eventually get compromised. Locking down your Wi-Fi with WPA3, moving guests to an isolated SSID, putting smart-home gear on its own VLAN, and filtering DNS with Pi-hole keeps a single sketchy gadget from turning into a network-wide problem.