Alian Digital

Your own VPN home with WireGuard: reach cameras, NAS and smart home from outside

Published 2026-11-03 · 9 min read · By the Alian Digital team

When you need to reach cameras, a NAS or Home Assistant away from home, the worst thing you can do is expose them straight to the internet. The right way is your own VPN, and WireGuard is simpler to set up than it seems.

What it is for

A home VPN creates a protected tunnel from your phone or laptop to your home network. You connect and see everything as if you were at home: cameras, NAS, printer, smart home dashboard. Only one VPN port is open to the outside, not ten services with weak passwords. It is not a tool for bypassing blocks and not a “change country” service: it leads only to your home network.

What you need

First check whether you have a “white” address

Many providers give one address to several subscribers (CGNAT). Then you cannot connect from outside. Look at the WAN address your router shows and compare it with what a “what is my IP” site shows. If they differ, or the address starts with 100.64 to 100.127, you are behind CGNAT. Often the provider offers a public address as an extra service. There are workarounds (a remote relay server or services like Tailscale) but they are separate from this guide.

Step 1. A WireGuard interface on the router

Step 2. Allow the port in the firewall

Add a firewall rule that lets inbound UDP to the WireGuard port in from the internet (WAN). Do not open anything else. For clients connected through the VPN, allow access to the home network.

Step 3. Add a device (peer)

“Allowed IPs” decides what goes through the tunnel. For home-only access list the home network and the VPN network, for example 192.168.1.0/24, 10.10.10.0/24. The rest of the internet then goes directly as usual. If you want all traffic to go through home (for example on someone else's Wi-Fi), use 0.0.0.0/0.

Many routers can show the client configuration as a QR code. That is the quickest way to set up a phone: scan and done.

Step 4. Test

Security

Typical mistakes

Need help with this?

Describe the task and we will suggest where to start. The first conversation is free.

Useful tools / Our service

Read next