VPN for your NAS or home network: what you actually need
Reaching your NAS from outside and hiding your traffic are two different jobs. One is usually free and already built into your router or NAS. Here's how to tell them apart and set up each one.
We may earn a commission from links on this page, at no extra cost to you. How that works
On this page 4 sections
Search for “VPN for Synology” or “VPN for my router” and you’ll find ads for paid VPN services. But most people searching for that want something else: to reach their photos, files or smart home from outside the house. That’s a different kind of VPN, and you usually don’t have to pay for it.
Short answer: To get into your home network from outside, use the VPN built into your router (for example UniFi’s WireGuard server or Teleport) or a free mesh VPN like Tailscale. You don’t need a paid VPN for that. To hide your traffic when it leaves your home, for example from a download client on your NAS, you need a privacy VPN such as Proton VPN or Surfshark.
Two kinds of VPN
| Remote-access VPN | Privacy VPN | |
|---|---|---|
| Direction | From outside into your home | From your home out to the internet |
| Typical use | Open your NAS, cameras or Home Assistant from your phone | Hide your traffic and IP address from your internet provider and websites |
| Who runs the server | You (router, NAS) or a mesh service | A VPN company |
| Cost | Usually free | A subscription |
You can use both at the same time. They solve different problems.
Getting into your home network safely
Never open your NAS login page directly to the internet. Ransomware gangs have repeatedly scanned the internet for NAS devices with an exposed login page and encrypted everything on them. QNAP and Synology owners have both been hit by such campaigns. A VPN means only your own devices can reach the NAS at all.
You have three good options.
1. Your router’s built-in VPN server
Most modern routers have one. UniFi gateways, for example, include a VPN server with WireGuard and OpenVPN, plus Teleport, which gives a phone or laptop one-click access back home.
- Pros: free, fast, everything stays on your own hardware, covers your whole network.
- Cons: needs a public IP address that can accept incoming connections. Some providers, especially for mobile and some fiber connections, put you behind a shared address (CGNAT), and then this won’t work.
2. The VPN Server package on your NAS
Synology’s VPN Server package turns the NAS itself into a VPN server, with OpenVPN and L2TP/IPsec. It works, but you have to forward a port on your router, and the NAS becomes your front door. If your router has a VPN server, use that instead.
3. Tailscale (mesh VPN)
Tailscale builds a private network between your own devices, using WireGuard under the hood. Install it on your NAS (it’s available in Synology’s Package Center) and on your phone, and they can see each other from anywhere.
- Pros: no port forwarding, works behind CGNAT, free for personal use with a generous device limit.
- Cons: you rely on Tailscale’s coordination service to connect your devices, although the traffic itself is encrypted end to end.
Our advice: if your router supports WireGuard and you have a normal public IP, use that. If you’re behind CGNAT or want the easiest setup, use Tailscale.
Hiding your traffic with a privacy VPN
This is where a paid VPN does make sense: when you want traffic that leaves your home to go through a VPN, without installing an app on every device. Two common setups:
On the NAS
Synology DSM can connect to a VPN as a client: Control Panel → Network → Network Interface → Create → Create VPN profile. It supports OpenVPN, so you need a provider that gives you OpenVPN config files. Proton VPN, Surfshark and NordVPN all do.
A useful trick: only route the apps that need it (for example a download client in a container) through the VPN, rather than the whole NAS. Otherwise your remote-access setup and some DSM services can break.
On the router
Many routers can connect to a VPN as a client and send chosen devices or networks through it. UniFi supports this with policy-based routing: for example, only the guest network or a single TV goes through the VPN. For this you want a provider that offers WireGuard config files, because WireGuard is much faster on router hardware than OpenVPN.
| Provider | WireGuard config files | OpenVPN config files |
|---|---|---|
| Proton VPN (paid) | Yes | Yes |
| Surfshark | Yes | Yes |
| NordVPN | Not officially; uses its own NordLynx in the apps | Yes |
Want to compare the providers in more detail? See our VPN comparison.
A safe setup in five steps
- Close any port forwards to your NAS login page (ports 5000/5001 on Synology).
- Turn on two-step verification for your NAS admin account.
- Set up remote access with your router’s VPN server or Tailscale. Test it from your phone on mobile data.
- Only if you need it, add a privacy VPN on the router or NAS for specific devices or apps.
- Keep firmware up to date on both the router and the NAS, and keep an offline or off-site backup. A VPN reduces risk; a backup is what saves you when something goes wrong anyway.
Ready to choose?
Proton VPN
Best for privacy-minded users who want to read the audits themselves.
- Swiss company; servers owned by Proton
- VPN Plus covers up to 10 devices
- Secure Core routes traffic through extra-secure servers first
- Open-source apps; full audit reports published every year
Surfshark
Best for big households with lots of phones, laptops and TVs.
- Based in the Netherlands
- Unlimited devices
- RAM-only servers
- No-logs claims checked by Deloitte in 2023 and 2025
Found this useful?
We share a short tip or checklist most days, and every new guide the day it goes live.