Security notice: Synology owners, install the latest DSM update now. It blocks the sign-in exploit used by the C3RB3R ransomware. What to do →

Blog · Networking

Synology VPN Server: how to set it up in DSM 7, and the WireGuard question (2026)

A VPN is the grown-up way to reach your NAS: no login page on the internet, just a private tunnel into your own network. Synology VPN Server gives you one for free, in about ten minutes, with a few defaults that will leave you staring at a “connected” icon and no files. Here's the setup using the real settings from our lab, a table of fixes, the truth about WireGuard, and the one network where none of this can work.

Updated November 9, 2026 · 8 min read

TL;DR

  • Install: Package Center → VPN Server. Free, and it runs entirely on your NAS.
  • Pick OpenVPN. Forward UDP 1194, export the profile, and replace YOUR_SERVER_IP in it.
  • Tick Allow clients to access server's LAN. It's off by default, and it's the classic “connected, but nothing works”.
  • No WireGuard. VPN Server offers OpenVPN, L2TP/IPSec and PPTP. WireGuard takes a third-party route.
  • You need a real public IP. Behind CGNAT, the connection stops at your ISP.
How a VPN connection reaches your NAS, and where CGNAT stops it
Diagram: with a public IP, a laptop connects over UDP port 1194 through a port-forwarding router to VPN Server on the NAS and on to the home network. Behind CGNAT, the same connection is blocked at the ISP and never reaches the router. With a public IP Laptop OpenVPN client UDP 1194 Your router forwards to the NAS VPN Server NAS at 10.8.0.1 Home LAN if you tick the box Behind CGNAT Laptop OpenVPN client ISP's CGNAT shared IP, no way in Router and NAS never hear a thing The VPN package can be perfect here. It's the path that's missing, and only an outbound connection fixes that.
VPN Server listens and waits. That only works if the internet can find it.

What Synology VPN Server actually does

VPN Server turns your NAS into the far end of a private tunnel. Your laptop or phone connects to it, gets an address on a private VPN subnet, and from then on it can reach the NAS (and, if you allow it, your whole home network) as though it were on the sofa. DSM, SMB shares, Jellyfin, your printer's admin page: nothing has to be published to the internet one service at a time.

That's a real advantage over a reverse proxy, and over any setup that leaves a DSM login page facing the world. It also runs on your own hardware with no third-party account. In exchange you get one open port, some client setup on each device, and the job of keeping it all patched.

Check two things before you start. You need a real public IP, because this method dies behind CGNAT (here's the 30-second check). And you need a stable address for that IP, which usually means a free synology.me name (Synology DDNS setup). If you fail the first check, skip to the CGNAT section and keep your evening.

OpenVPN, L2TP or PPTP: which one to choose

VPN Server offers three protocols, one of which belongs in a museum:

ProtocolPorts to forwardClientVerdict
OpenVPNUDP 1194 (changeable; TCP is an option)Needs an OpenVPN app on each deviceThe one to pick
L2TP/IPSecUDP 500, 1701, 4500Built into Windows, macOS and iOSFine when you can't install an app
PPTPTCP 1723, plus GRE passthroughApple removed it in iOS 10 and macOS SierraLeave it off

Use OpenVPN unless you have a reason not to. It needs one forwarded port and a free client app, and it's the option with the most control. L2TP/IPSec is the fallback for devices where you can't install anything, and it relies on a pre-shared key, so make that long and random. PPTP stays off: Apple dropped it years ago, and in 2024 Microsoft announced it's deprecating both PPTP and L2TP on future versions of Windows Server. That applies to Windows acting as the server, not to your NAS, but it does show which way the wind is blowing.

How to set up OpenVPN on Synology, step by step

  1. Install it. Package Center → search VPN Server → Install.
  2. Enable OpenVPN. Open VPN Server → OpenVPN → tick Enable OpenVPN server.
  3. Tick Allow clients to access server's LAN if you want more than the NAS itself. Most people do.
  4. Click Apply, then Export Configuration. You get a zip with the VPNConfig.ovpn profile, the CA certificate and a README.
  5. Forward the port. On your router, send UDP 1194 to the NAS's LAN IP. If DSM's firewall is on, allow it there too.
  6. Edit the profile. Replace YOUR_SERVER_IP with your DDNS name. To send all your traffic through home, remove the # before redirect-gateway def1. Leave it alone to send only NAS traffic.
  7. Connect. Import the profile into an OpenVPN client (OpenVPN GUI on Windows, Tunnelblick on Mac, OpenVPN Connect on phones) and sign in with your DSM username and password.
  8. Test from outside. Use a phone on mobile data, not your sofa. Testing from inside your own network proves very little.
Synology VPN Server OpenVPN settings in DSM 7 showing dynamic IP 10.8.0.1, maximum connections 5, port 1194, UDP protocol and the Allow clients to access server's LAN option
The real OpenVPN panel, freshly installed on DSM 7.2 in our lab (VPN Server 1.4.10). These are the defaults: 10.8.0.1, 5 connections, UDP 1194, and LAN access off.

The defaults worth changing

Synology WireGuard: the honest answer

You've probably seen guides promising “native WireGuard” on Synology. We looked for it. Synology's VPN Server spec for DSM 7.4 lists OpenVPN, L2TP over IPSec and PPTP, and our DSM 7.2 lab has no WireGuard kernel module. So the realistic options are:

One catch people miss: a self-hosted WireGuard server is still a listening server. It needs a forwarded UDP port and a public IP, just like OpenVPN. A faster protocol doesn't fix CGNAT.

Synology VPN not working? Symptom → fix

SymptomUsually meansFix
Times out, never asks for a passwordPort not forwarded, wrong address, or CGNATForward UDP 1194, check your router's WAN IP, test from mobile data
Client can't find the serverProfile still says YOUR_SERVER_IPEdit the remote line in the .ovpn file
AUTH_FAILED or wrong credentialsAccount has no VPN permission, or a typoVPN Server → Privilege, then check Log
Connected, but only the NAS answersLAN access is off (the default)Tick Allow clients to access server's LAN, Apply, reconnect
Connected, but LAN addresses go nowhereSame subnet at both endsUse the NAS's VPN address (10.8.0.1), or renumber your home LAN
TLS handshake failedProfile no longer matches the serverExport the configuration again after changing server settings
Websites break while connectedFull-tunnel routing without working DNSRemove redirect-gateway def1, or set a dhcp-option DNS line
New connections refusedHit the limit: 5 total, 3 per accountRaise both numbers in the OpenVPN panel
Certificate expired or replacedProfile holds the old CAControl Panel → Security → Certificate, then export again
Windows L2TP fails with error 809NAS is behind NAT, which Windows rejects by defaultSet AssumeUDPEncapsulationContextOnSendRule to 2, then restart Windows

The Windows fix is a DWORD under HKLM\SYSTEM\CurrentControlSet\Services\PolicyAgent, set on the client. Microsoft documents it here. It isn't guaranteed to cure every L2TP failure, which is one more reason to prefer OpenVPN.

Mapping a drive over the VPN

Once connected, SMB behaves as it does at home, so you can map a network drive to \\192.168.1.10\share (with LAN access on) or to the NAS's own VPN address, \\10.8.0.1\share. The second one also survives the hotel whose Wi-Fi uses the same 192.168.1.x as your house. The catch is that the drive only works while the tunnel is up, so someone has to remember to connect first, and that someone is usually you, on the phone, talking a relative through it.

On security: forwarding one VPN port is far better than exposing DSM or, heaven forbid, SMB. But the port still faces the internet, and we found no 2FA setting in VPN Server, so a password is all that stands behind it. Use a dedicated account with a long password, leave Auto Block on, and keep DSM patched. Outdated Synology boxes are an active ransomware target right now.

Behind CGNAT, or tired of client profiles?

VPN Server waits for inbound connections, so behind CGNAT it has nothing to wait for. (The OpenVPN panel does offer an IPv6 server mode, which can help if your home and every network you visit have working IPv6. That's a big “if”.) The fix is a tool where the NAS dials out. For a whole private network, that's Tailscale. For web apps on your own domain, it's Cloudflare Tunnel. For the common case of “I just want my files”, there's RocketZero.

Install the package on the NAS and the desktop app on Windows or macOS, sign in with your existing DSM username and password, and your shares show up as real drives: Z: in Explorer, or in Finder. There's no port forwarding, no DDNS, no kernel module and no client profile to edit, and it works behind CGNAT. The drive runs over WireGuard, direct peer-to-peer when the network allows and through an encrypted relay when it doesn't, end-to-end encrypted either way.

Windows This PC showing a Synology NAS mounted as network drives from outside the home network, without a VPN profile or port forwarding
The NAS in Windows' “This PC” as ordinary drives, with no profile to import. Real capture from our Windows lab.

Here's what it won't do, because a VPN article should be straight about this. RocketZero isn't a VPN into your home network: it won't reach your printer or your other computers. You also get an <id>.roze.to address that opens DSM and its web apps in a browser, but that path is a hosted reverse proxy with TLS terminated at our relay, so it isn't end-to-end encrypted. Only the drive is.

RocketZero ships today for Synology DSM 7, OpenMediaVault 7 and TrueNAS SCALE, with desktop apps for Windows and macOS (on first launch on macOS, you'll need to allow it in System Settings → Privacy & Security). It doesn't carry Synology Drive Client (port 6690), and DSM's 2FA protects the web UI, not the drive mount, so a dedicated remote-access account is a good idea here too. Full walkthrough: the RocketZero setup guide.

VPN Server, or something else?

Use Synology VPN Server if…

  • you have a real public IP and can forward a port;
  • you want your whole home network, not just the NAS;
  • you want no third party involved, and you're happy managing profiles.

Use something that dials out if…

  • you're behind CGNAT, or can't touch the router;
  • you'd rather have no open ports at all;
  • you just want your NAS as a drive: download RocketZero.

Synology VPN Server is a good, free, slightly old-school tool. Tick the LAN box, untick the automatic permissions, and it will quietly do its job for years, provided your ISP has actually given you a front door.

FAQ

Is Synology VPN Server free?

Yes. It's a free package in DSM's Package Center. Synology's spec page lists up to 40 concurrent connections, with the real limit depending on your model. The default in the OpenVPN panel is much lower: 5 in total and 3 per account.

Does Synology VPN Server support WireGuard?

No. Synology's VPN Server spec for DSM 7.4 lists OpenVPN, L2TP over IPSec and PPTP, and the panels in our lab show the same three. WireGuard on a Synology NAS means a third-party package, a container, or a product built on WireGuard such as Tailscale or RocketZero.

What ports do I need to forward for Synology VPN Server?

OpenVPN: UDP 1194 by default (you can change it). L2TP/IPSec: UDP 500, 1701 and 4500. PPTP: TCP 1723, plus GRE passthrough on the router. Forward only the protocol you actually use.

Does Synology VPN Server work behind CGNAT?

Not over IPv4. It waits for inbound connections, and behind CGNAT those stop at your ISP. IPv6 can be a way out if both ends have it, since the OpenVPN panel has an IPv6 server mode. Otherwise use something the NAS dials out from: Tailscale, QuickConnect, Cloudflare Tunnel or RocketZero.

Why can I connect to the VPN but not reach my other devices?

On OpenVPN, Allow clients to access server's LAN is unticked by default. Tick it, click Apply, and reconnect. If it's already on, check that the network you're visiting doesn't use the same subnet as your home network, such as 192.168.1.x at both ends.

Is QuickConnect a VPN?

No. QuickConnect is Synology's relay service for reaching DSM and Synology's own apps. It doesn't put your device on your home network, and it doesn't give you a mapped SMB drive.

Does Synology VPN Server support 2FA?

We found no 2FA or one-time-password setting in any VPN Server panel on our lab NAS (package version 1.4.10). Plan for password-only sign-in: use a dedicated account with a long password, and keep Auto Block on.

Skip the port forwarding entirely

RocketZero mounts your NAS as a drive from anywhere: no port forwarding, no DDNS, works behind CGNAT, no extra account. Free to get started.

Download RocketZero Read the setup guide