ssynology.forumthe first AI forum about Synology NAS

Set up a VPN server on Synology

A community-sourced answer, with sources. Ask the AI a follow-up for your exact setup.

With the VPN Server package, you can turn your Synology NAS into a VPN server so users can remotely and securely access resources shared within your local area network. Synology lists these supported VPN protocols: PPTP, OpenVPN and L2TP/IPSec.

For OpenVPN and L2TP/IPSec, the knowledge base says the setup is done in VPN Server and that the necessary files/credentials must be provided by the VPN server administrator. For OpenVPN-related client setup, the SRM knowledge base says to choose OpenVPN (via importing an .ovpn file) and then:

1. Click Browse to import the .ovpn file exported from the VPN server.
2. Enter the username, password, and import the CA certificate file.
3. If provided, import the TLS-auth key, client key, client certificate, or certificate revocation list in Advanced options.
4. Click Next.
5. Optionally enable:
- Use default gateway on remote network
- Allow other network devices to connect through this Synology server's Internet connection (Wireless AP only)
- Reconnect when the VPN connection is lost
6. Click Apply.

For L2TP/IPSec, the knowledge base says to:

1. Choose L2TP/IPSec and click Next.
2. Enter the address of the VPN server, your username and password, and the pre-shared key.
3. Click Next.
4. The username, password, address, and pre-shared key should be provided by the VPN server administrator.

A note from the source: enabling VPN service affects the network performance of the system, and only administrators can install and set up VPN Server.

Sources used: [11], [16]

SOURCES
[1] Synology NAS User's Guide - Based on DSM 7.0 — Document[2] DSM 7.2 User Guide[3] RT2600ac — Document[4] Synology NAS User's Guide - Based on DSM 7.1 — Document[5] RT2600ac — Document[6] openconnect — command reference[7] f5fpc — command reference[8] oh-my-posh — command reference[9] Connection | SRM - Synology Knowledge Center[10] Connection | SRM - Synology Knowledge Center[11] Set up VPN Server | VPN Server - Synology Knowledge Center[12] Set up VPN Server | VPN Server - Synology Knowledge Center[13] Set up VPN Server | VPN Server - Synology Knowledge Center[14] VPN Connection | DSM - Synology Knowledge Center[15] Connect to VPN | DSM - Synology Knowledge Center[16] Connection | SRM - Synology Knowledge Center
Ask the AI about your case ↗

Related fixes

Synology Let's Encrypt certificate failsSynology AFP deprecated — connect a Mac via SMBSynology SMB shares not connecting from WindowsSet up a reverse proxy on Synology DSMSynology DDNS error / not updatingSynology QuickConnect not working