

Just removing the comment symbol will enable the full-tunnel VPN. To enable full-tunnel, remove the “#” sign (this is the symbol for a comment). I create two separate configuration files (one for split-tunnel and one for full-tunnel) and depending on the situation, use one or the other. If you aren’t sure which you’d like, reference the image above to see the differences.
OPENVPN ACCESS SERVER CONFIG FILE FREE
If you’d like to configure DDNS using a free hostname, you can follow Synology’s instructions here. Most people have dynamic external IP addresses, so creating a DDNS hostname is required because you need to ensure that you are always accessing your external IP address. Before we get into the steps, you need to ensure that you have DDNS configured. Now that we have our server configured, we need to modify our configuration file. In the example below, 192.168.1.220 is the IP address of my Synology NAS.Īssuming that you were able to open UDP port 1194 and configure the Synology firewall rule successfully, the port configuration is now complete! Create a port forwarding rule for UDP port 1194 to your Synology NAS’s IP address.
OPENVPN ACCESS SERVER CONFIG FILE HOW TO
This process requires you to have a static IP address setup.If you don’t currently have a static IP address setup, read how to set up a static IP address here.Ĩ. This is a great guide that shows how to port forward on a few different brands of routers, but the best thing to do is try and google the name of your router and port forwarding. Now, port forwarding will be completely different on every brand’s router settings page. If you’d like to do it this way, you can read Synology’s help article here. However, there is a lot of debate on the security of UPnP, so I will not be going over it in this tutorial. If you have a UPnP compatible router, it’s very easy to set this up. Synology has UPnP functionality, which gives your NAS the ability to open ports on your router automatically.

We now need to port forward UDP port 1194 on our router to our Synology NAS. We just configured our Synology firewall to allow connections on UDP port 1194.
