How to set up OpenVPN on Synology 6.2 NAS

In this article, you will learn how to set up your Synology 6.2 NAS with the OpenVPN protocol.

To proceed, you need to have a Synology 6.2 NAS and an active Surfshark subscription. You can find the available plans on Surfshark’s pricing page.


You will learn how to:

  1. Get your credentials
  2. Choose a Surfshark server
  3. Configure the OpenVPN client
  4. Ensure your connection is successful 


Get your credentials

NOTE: These are not your regular credentials, such as your email and password.

  1. Enter the Surfshark login page and log in. Then, click on VPN > Manual Setup > Router > OpenVPN to generate your credentials.

  2. Once there, make sure that you are in the Credentials tab and click on Generate credentials.

    NOTE: Keep this tab open as we'll need it later.


Choose a Surfshark server


  1. Open the same page on another browser tab, go to the Locations tab, and locate the server that you wish to connect to.

  2. Click on the download icon to the right of the server name and click on Download UDP


Configure the OpenVPN client

  1. Log in to your Synology NAS and select Control Panel.

  2. Select Network.

  3. Navigate to Network interface > Create > Create VPN Profile.

  4. Select OpenVPN (via importing a .ovpn file), and press Next.

  5. Fill in the fields as shown below and select Next.

    Profile nameSurfshark(or whatever you prefer)
    Username: Surfshark service password (refer to Get your credentials section in this article)
    Password: Surfshark service password (refer to Get your credentials section in this article)
    Import .ovpn file: Import a configuration file (refer to Choose a Surfshark server section in this article)
    CA certificate: Leave empty

    Once you fill everything in, press Next.

  6. Check all available options and select Apply.

  7. Select the created profile and press Connect.

  8. The status of the profile will change to Connected. 


Ensure the connection is successful


We always recommend checking if Surfshark VPN is working after setting it up for the first time. You can easily do it by performing Surfshark IP leak test and a DNS leak test. For your convenience, both are available on our website.


You may also be interested in:

Was this article helpful?
Thank you for your feedback!