Black Friday: smart home deals to watch on Amazon.ca
LeLaboDomotique.com
Tutorials

Secure Remote Access to Your Smart Home: VPN, No Cloud

White Wi-Fi router seen from behind with a blue Ethernet cable plugged in

Quick verdict: the golden rule

“Local” doesn’t mean “locked inside the house.” Your system can stay 100% local and still be reachable from anywhere, as long as you pick the right front door.

The golden rule: NEVER open a raw port on your router (port forwarding on port 80 or 8123) to expose Home Assistant or your cameras to the Internet.

Two modern, secure methods exist:

  • A personal encrypted VPN (WireGuard or Tailscale): free and very safe, but it takes a bit of setup.
  • Home Assistant Cloud (Nabu Casa): a small optional subscription for people who want zero technical setup.

Why port forwarding is an open door for hackers

Bots crawl the Internet around the clock to spot open ports and smart home portals exposed directly. As soon as you publish your login page, it’s found, then tested: common passwords, known unpatched flaws. You don’t need to be a target: being visible is enough.

A VPN does the opposite (if you’re leaving Ring or Nest, read our migration plan first). It creates an encrypted private tunnel between your phone and your home, invisible from the outside: no portal to attack. Your phone behaves exactly as if it were on your living-room Wi-Fi, with the same local addresses and the same apps.

The 3 remote access methods compared

Method Cost Technical level Security Ideal for
WireGuard (on the router or local server) Free Intermediate Very high, no outside dependency Anyone who wants maximum speed and total control
Tailscale (mesh VPN) Free for personal use Easy, 5-minute setup Very high, but relies on an outside coordination service Anyone behind some providers’ CGNAT, or in a hurry
Nabu Casa (Home Assistant Cloud) Small optional subscription Very easy High, but goes through an encrypted cloud relay Anyone who wants zero setup, plus voice with Google Assistant and Alexa

A note on WireGuard: it needs a UDP port open to the router. That isn’t the same as an exposed web portal: this port answers no one who doesn’t hold the right key. It also needs a public IP address, which rules out CGNAT, and a dynamic domain name if your address changes.

Nabu Casa remains the least “cloud-free” of the three, but its subscription directly funds Home Assistant’s development.

A router with a built-in WireGuard VPN server

VPN on the router

Router with WireGuard VPN server (GL.iNet Flint 2 / GL-MT6000 or ASUS RT-AX58U / RT-AX86U)

Ethernet

Pros

  • The VPN runs on the router, without weighing down the smart home server
  • Built-in WireGuard, or Tailscale depending on the firmware, at no cost
  • GL.iNet: interface designed around the VPN, OpenWrt base
  • ASUS: widespread, well-documented hardware

Cons

  • On ASUS, WireGuard support depends on the firmware version and the model: check before you buy
  • On GL.iNet, the firmware is homegrown and takes a bit of learning
  • Replacing your router changes the whole Wi-Fi network in the house
Check the price on Amazon.ca

A reliable local mini PC server

The server

Beelink Mini S12 Pro

Ethernet

Pros

  • Powerful enough to host Home Assistant and Tailscale side by side
  • Modest power draw, reliable SSD
  • Tailscale and WireGuard plug in with a few clicks as add-ons

Cons

  • Windows preinstalled: you have to wipe it and install Home Assistant OS yourself
  • One more device to keep powered and backed up
  • Oversized if your only need is the VPN: a compatible router is then enough
Check the price on Amazon.ca

A VPN travel router

Hotel and cottage

VPN travel router (GL.iNet Beryl AX / Slate AX)

Wi-Fi

Pros

  • Secures your connection at the hotel or the cottage
  • Keeps a direct tunnel back home
  • Small and light, handy to slip into a bag

Cons

  • One more device to carry and recharge
  • Encryption limits throughput depending on the router's processor
  • Only useful if you travel often: your phone's VPN already covers the essentials
Check the price on Amazon.ca

A smart plug with automatic restart

The pro tip

TP-Link Kasa KP115 smart plug (or a local Zigbee plug)

Local Wi-Fi

Pros

  • Cuts and restores power to a frozen modem or router, even when you're away
  • Power measurement on the KP115
  • Works with Home Assistant to automate the restart

Cons

  • A Wi-Fi plug depends on the Wi-Fi of the router it has to restart: if the Wi-Fi is down, it's unreachable
  • Prefer a Zigbee plug connected to the modem, controlled by Home Assistant
  • The automation assumes your Home Assistant server stays reachable
Check the price on Amazon.ca

Tutorial: set up your VPN access in 15 minutes

Step 1: fix your hub’s IP address

In your router’s interface (if you’re thinking of replacing your ISP gateway, see our guide on choosing mesh Wi-Fi with no subscription), reserve a fixed IP address for your smart home hub (static DHCP lease). Without it, the address can change and the VPN loses track of your server.

Step 2: turn on Tailscale or WireGuard

On Home Assistant, install the Tailscale add-on (or turn on your router’s WireGuard server) and sign in. With Tailscale, count on about five minutes. With WireGuard, you’ll also need a dynamic domain name and forwarding of the VPN’s single UDP port.

Step 3: install the app on your phone

Install the iOS or Android app, sign in to the same account and, if the app offers it, turn on automatic connection as soon as you leave your home Wi-Fi.

Step 4: test on a cellular network

Turn off your phone’s Wi-Fi and switch to 5G. Open Home Assistant: you should reach the cameras and the heating instantly. If it works, remove any port forwarding you had before, and turn on two-factor authentication on your Home Assistant account.

Frequently asked questions (FAQ)

Does a VPN running on my phone drain the battery faster?

Slightly. WireGuard and Tailscale are lightweight protocols: the impact is a few percent per day in most cases. To limit consumption, let the VPN turn on only when you're off your home Wi-Fi, if the app allows it.

What happens if my provider changes my public IP address while I'm on vacation?

With WireGuard, that can cut your access, unless you use a dynamic domain name (DDNS) that follows the address automatically. With Tailscale or Nabu Casa, nothing changes: they don't need your public address.

Can I share access with my partner without technical steps?

Yes. With Tailscale, you invite them once and they install the app and sign in. With WireGuard, you send a configuration QR code. With Nabu Casa, they just sign in to the Home Assistant app with their credentials. After this initial setup, there's nothing more to handle.

Can my Internet provider stop me from using a home VPN?

Some residential or mobile connections use CGNAT and don't provide a public IP address, which keeps WireGuard from receiving connections from outside. In that case, ask your provider for a public IP address, or go through Tailscale, which works with no open port, or through Nabu Casa.

Related articles