This one is pretty easy, but some of the quirks of the “Synology way” may lead you to a failed OpenVPN attempt. Mainly after exporting the configuration, it’s not clear that you should have to modify it in any way before trying to use it.
If you want to install OpenVPN on your Synology so you can have a private secure tunnel to your home network, follow these instructions.
It is available in your Package Center
Launch the OpenVPN App
When it is installed, you will see that nothing is enabled. I already have an OpenVPN server running, which you can see below:
Configure the OpenVPN Settings
As soon as you enable the server, some settings will be filled by default. You can keep all of the default settings or match them like you see below if you see something different:
When you’re done configuring it and you apply all the settings, you’ll need to click “export configuration” in order to download the files your OpenVPN client will need to establish a connection.
Modify exported configuration
We have to modify the VPNconfig.ovpn file to include your networks Public IP address or DNS hostname.
See below where it says “YOUR_SERVER_IP” — we will need to change this to your Public IP address or DNS hostname if you have one.
Port forwarding / NAT / Behind a firewall
Of course, once this is all done, you will need to open port 1194 UDP to expose your Synology’s internal OpenVPN service to the internet. Completing this step won’t be covered under this article. For more information on port forwarding, you can find a lot of information on google — even specifics for your router type.
And you’re done!
Thanks for reading, I hope this helps you.