How do I configure a VPN on a Synology NAS?

Configuring a VPN on a Synology NAS


A Virtual Private Network (VPN) allows you to create a secure connection to access your Synology Network-Attached Storage (NAS) device remotely. By configuring a VPN on your Synology NAS, you can access your files and services securely, even if you are not on the local network.

Steps to configure a VPN on a Synology NAS

Step 1: Install the VPN Server package

1. Log in to your Synology NAS's DSM (DiskStation Manager) web interface.

2. Open the Package Center.

3. Search for "VPN Server" in the search bar.

4. Click "Install" to install the VPN Server package.

Step 2: Set up the VPN Server

1. Once the VPN Server package is installed, open it from the main menu.

2. Click on the "VPN Server" tab and then click on the "Settings" button.

3. Configure the general settings, such as the VPN server name and the maximum number of connections allowed.

4. Select the VPN protocol you want to use (e.g., OpenVPN, PPTP, L2TP/IPSec).

Step 3: Set up user accounts

1. After configuring the general settings, click on the "Privilege" tab.

2. Click on the "Add" button to create a new user account.

3. Enter the username and password for the user account.

4. Assign the appropriate access privileges to the user account (e.g., read/write access to specific shared folders).

5. Repeat the steps to create user accounts for other VPN users, if necessary.

Step 4: Configure port forwarding (if required)

If you want to access your Synology NAS remotely via the VPN server, you may need to configure port forwarding on your router or firewall. Consult your router or firewall manufacturer's documentation for instructions on how to configure port forwarding.

Step 5: Connect to the VPN server

1. Install a VPN client on your device (e.g., OpenVPN client for OpenVPN protocol).

2. Launch the VPN client and enter the VPN server's IP address or domain name, along with the user credentials created in the previous steps.

3. Connect to the VPN server.

4. Once connected, you should be able to access your Synology NAS securely over the VPN connection.


Configuring a VPN on your Synology NAS allows you to securely access your files and services remotely. By following the steps outlined above, you can set up a VPN server on your Synology NAS and connect to it from your devices with ease.

Scroll to Top