![]() Simply use your external IP address as YOUR_SERVER_IP. If you are absolutely positive that you have a static external IP address that never changes, you do not have to setup DDNS. If you’d like to use DuckDNS, I wrote up a tutorial on how you can do it here. 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. Synology NAS OpenVPN Configuration File Changes 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! 5. ![]() Create a port forwarding rule for UDP port 1194 to your Synology NAS’s IP address. If you don’t currently have a static IP address setup, read how to set up a static IP address here.Ĩ. This process requires you to have a static IP address setup. 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. When completed, the rule should be above the deny all rule. Create an Allow rule for the VPN Server (OpenVPN) application, UDP port 1194.ħ. If you are using Synology’s firewall, open the Control Panel, Security, then navigate to the Firewall and Edit Rules.Ħ. If you aren’t sure how to configure Synology’s Firewall, you can learn how in our Ultimate Synology NAS Setup & Configuration Guide.ĥ. Our VPN Server is now configured, but we need to ensure that our firewall allows access to UDP port 1194. Synology NAS OpenVPN Firewall Configuration ![]() Navigate to the privilege section and ensure that the user account that you’d like to connect to the VPN with has permission for OpenVPN.ģ. Since we are trying to access our Synology NAS outside of our network, we need to enable Allow clients to access server’s LAN. Change the Dynamic IP address range and maximum connection properties if you’d like. ![]() Open the application and navigate to the OpenVPN section.ģ. Open the Package Center and Install the VPN Server application.Ģ. Synology NAS OpenVPN Setup – Instructionsġ. I am simplifying the process as much as I can.Ģ. NOTE: This is not the exact network flow. This only shows how traffic is routed differently to external networks. It’s important to note that both connection types will allow you to access your local network. I created a very basic image below that explains this, but we will look at how to configure both in later steps. Your IP address for internal and external requests will be your home networks. Your IP address when navigating to a site outside of your network will be the IP address of the network that you are currently on.įull-Tunnel VPN: All traffic is sent through your home network. Split-Tunnel VPN: Traffic is only sent through your network if it is attempting to access an internal resource. There are two types of VPN networks: 1.1 VPN Connection Types ![]() In layman’s terms, it allows you to securely connect back to your local network from an outside network. Synology NAS OpenVPN Setup – ConclusionĪ VPN is a Virtual Private Network that extends your private network to a public network. Static Route Configuration – Synology NAS OpenVPN Setup Synology NAS OpenVPN Client Configuration and Testing Synology NAS OpenVPN Setup – Instructions ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |