This tutorial guide will take you through the steps of setting up a VPN on your Synology using OpenVPN.
Download OpenVPN configuration files
- Login into your CyberGhostVPN account
- Click on « My Devices » and then « Other »
- Click on « Configure a new device »
- Add a new connection : « OpenVPN » then « Country » then you have to choose the server-group accordingly :
Note : Please note that the above step depend on the OpenVPN client that your Synology NAS is using: version 2.4 or 2.3.
Click on Save Configuration and then download it.
Important : please keep your username and password obtained during the configuration process at hand, you will be asked to enter them later in the setup.
The archive file contains 4 files that need to be extracted :
- Server security certificate: ca.crt
- Client safety certificate: client.crt
- Key file: client.key
- OpenVPN configuration file: openvpn.ovpn
Turn off IPv6
Before enabling VPN on your Synology, CyberGhostVPN highly recommends you to disable IPv6 to prevent IPv6 traffic from leaking out of the VPN tunnel
To turn off IPv6, go to Control Panel > Network > Network Interface.
Click the Network Interface tab and then click the LAN menu to expand it.
In the Edit menu, click the IPv6 tab. For IPv6 setup, select Off. Click OK.
After disabling IPv6, reboot your Synology.
Create a new VPN profile
To add a new VPN profile, we need to return to the Network Interface settings. Go to Control Panel > Network > Network Interface.
Select Create > Create VPN Profile.
Set up your VPN profile
From the VPN Connection Method screen, select OpenVPN (via importing an .ovpn file) and click Next.
On the General Settings screen, enter the following information :
- Profile name : CyberGhostVPN (or a name to help you remember the connection)
- User name : user name that you have obtained during the configuration process
- Password : password that you have obtained during the configuration process
Then, you will continue the setup by adding the 4 files downloaded from your online account :
- in the field '.ovpn files' -> import the .ovpn file
- in the field 'CA certificate' -> import the file ca.crt
- in the field 'Client certificate' -> import the file client.crt
- in the field 'Client key' -> import the file client.key
Check the boxes for Use default gateway on remote network and Reconnect when the VPN connection is lost.
The box for Allow other network devices... is optional.
Click Apply to continue.
Connect to the VPN server
You should now see your new VPN profile in the network interface window. Click on your new VPN profile and then click Connect.
After successful connection, the status of the profile will change to Connected and that's it!