Add to Favourites    Print this Article

How to setup OpenVPN on the Synology NAS (Older Builds) DSM 5 and below

The following tutorial was made using a NAS Synology station running DSM 5.1 OS. The following tutorial should be compatible with 4.x versions as well.

Part 1. Before you start

Before configuring the VPN on your DiskStation, please check the following:
  1. Your Internet connection is normal;
  1. The volume of your DiskStation is normal;
  1. The DiskStation Manager (DSM) of your DiskStation is the latest version.

Part 2. Connect to a VPN Server via OpenVPN

Step 1. Once on your DSM dashboard click on Control Pannel. Now click on Network.

Step 2. Click on Network Interface and then on Create.

Now, click on Create VPN profile.

Choose OpenVPN and click on Next.

Step 3. Input details as following:
  1. Profile name: TorGuard;
  2. Server address: pick one here (TorGuard Hostname),
  3. Username: your Vpn Username.
  4. Password: your VPN password
  5. Port: This option is only available in DSM 5.1+!
  6. When using OpenVPN TCP, select port: 443
  7. When using OpenVPN UDP, select port: 443
  8. Protocol:This option is only available in DSM 5.1+!
  9. Select "TCP" or "UDP", as you like.
  10. Certificate: Download it from My Servers page.

Click Next.

Step 4. On the Advanced settings check all option as described bellow:

Click Apply.

Step 5. Go to your previously created VPN profile (found in Network Interface on your DSM). Select VPN - TorGuard and then click on Connect

You will notice the VPN adapter gets Connected.

Step 6. From your laptop/PC (or a device that is connected to your NAS station: Ethernet/Wi-Fi) go to and check your IP, you'll notice that it was already changed.

You can also login to the NAS via SSH and run the below command:


It will show the IP your NAS has changed to.

Also Read