Synology Guide DSM 5.0/6.0
Setup: Download the SlickVPN.crt file here
1. Open Control Panel; Go to Network; Go to Network Interface tab; Create VPN Profile
2. Select OpenVPN as the VPN Connection Method
3.Fill in the General Settings as indicated
Profile name – SlickVPN
Server address – gw1.iad1.slickvpn.com (or choose a different gateway)
User name – Your SlickVPN username
Password – Main account password
Port – 8888
Protocol – UDP
Certificate – Browse to the SlickVPN.crt file that you downloaded
4. Advanced Settings
Check Use default gateway on remote network
Check Reconnect when the VPN connection is lost.
5. Login to the Synology as admin User (use the same password as when you login to the web interface)
example: ssh [email protected]
Run the following commands
sudo -i [enter Synology password] cd /usr/syno/etc/synovpnclient/openvpn ls -al
**Note the number attached to the client_oXXXXXXX file. This number will be unique to your Synology and must be used in the next steps
Get the config file from our servers
Run this command, substituting the number from your client file
sed -i 's/SLICK/**number**/g' slick.cfg example: sed -i 's/SLICK/1395413282/g' slick.cfg
Copy the config to client_oXXXXXXXX. This will leave a backup copy of your configuration in case you have to make any changes in the GUI later.
cp slick.cfg client_oXXXXXXXXX example: cp slick.cfg client_o1395413282
Any changes made in the VPN Interface of the GUI will cause these files to be overwritten. Just re-copy the slick.cfg to the client_oXXXXXX file if this happens.
The default configuration file is for Washington, DC (gw1.iad1). Change the gateway address by using the following command, substituting the gateway of your choice. We’ll use the Amsterdam gateway in this example (gw1.ams3)
sed -i 's/gw1.iad1/gw1.ams3/g' client_o1395413282
You can check the public IP from the command line of the Synology using
curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'