Next, we will need to edit the server.ovpn file.Here is the command and its output: copy "C:\Program Files\OpenVPN\sample-config\server.ovpn" "C:\Program Files\OpenVPN\easy-rsa\keys\server.ovpn" copy "C:\Program Files\OpenVPN\easy-rsa" "C:\Program files\OpenVPN\bin\openvpn.exe" -genkey -secret copy "C:\Program Files\OpenVPN\easy-rsa\keys\ta.key" "C:\Program Files\OpenVPN\easy-rsa" copy "C:\Program Files\OpenVPN\sample-config\server.ovpn" "C:\Program Files\OpenVPN\easy-rsa\keys\server.ovpn" 1 file(s) copied. Let’s begin by copying the sample “ server configuration” file over to the easy-rsa folder.Just search for “VPN Server” and install the official app that appears. You can download the official VPN Server app from the Synology Package Center. You’ll also need to set up a port forward on your router to forward traffic on port 1194 (or whatever custom port you choose) to your Synology NAS. You can use your Synology’s domain name to connect to this OpenVPN Server. Check out my guide on how to set up your Synology with an SSL certificate for remote access: Synology Disktation SSL with Let’s Encrypt. Prerequisitesįor the OpenVPN Server to work on your Synology NAS, you’ll need to be able to get to your home network either by IP address, a DDNS service or by using a custom domain name. OpenVPN’s default port is 1194 but you can pick whichever port number you want, just be sure to set any VPN clients that you are using to use your custom port. With this setup, you’ll only have to forward one port from your router, to your NAS. In less than an hour you can set up an OpenVPN Server on your Synology NAS and connect securely from just about anywhere in the world. One of the simplest ways to securely access your home network is by using a VPN.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |