IA VPN allows you to privately access online activities no matter where you are by encrypting your connection to the Internet.
How to Set up and Connect Synology Nas as a VPN Server?
In this article, I will show you how to setup a VPN server on your Synology NAS as a way to access your LAN from any location.
Step 1: CREATING NEW USER
Let's start by creating a new user on our Synology NAS.
Go to the Package Center and search for vpn server. Install the application and open it.
Next, go to the General Settings tab and uncheck Grant VPN permission to newly added local users.Next, go to Privilege tab, remove privileges to all users for all VPN servers except of granting it to the openvpn user under OpenVPN server type
Step 3: ENABLING OPENVPN SERVER
Under Set up VPN Server section, click on the OpenVPN tab.
Click on Enable OpenVPN server and ensure the Dynamic IP address does not conflict any of your existing network settings. Ensure what's the port number and enable the following settings:
- Enable compression on the VPN link
- Allow clients to access server's LAN
Step 4: DDNS
Now the goal is to establish a static hostname (needed for the VPN connection) as a solution for our home public IP address that may be changed dynamically at any time by your ISP). Go to Control Panel and under External Access click on the DDNS tab.
Step 5: PORT FORWARDING
On this step we go to open port Open VPN on Synology Nas and Router
1. Synology Nas
Go to Control Panel => Security => Firewall
- Enable Firewall
- Enable Firewall notifications
- Under Firewall Profile click edit rule
- Now find the port of Open VPN that we config above. For my OpenVPN that i open is 1194 and then Click OK
2. Router/Mikrotik
Follow this article How to Set up Forwarding Port on the Mikrotik Router?
Step 6: CONFIGURATION OpenVPN File
Extract previously downloaded openvpn.zip and edit the VPNConfig.ovpn file.
- Remote "Your Public IP Address" "Port VPN that you Open Above step"
Example: Remote: 43.230.200.2 1194
-dhcp-option DNS DNS "IP Address of Synology Nas"
Example: dhcp-option DNS DNS 192.168.123.81
Step 7: Download OpenVPN and Connect
- This is link to Download OpenVPN and install it
- Now start to connect Click File=> Import your file OpenVPN that you config above and Click Open
- After Import now start to connect. then have prompt to enter your username and password "Your User Synology" and now already connected.
Press Start+run \\your local IP Address then your user and password of your Synology Nas
Example: my local IP Address: 192.168.255.1
Conclusion
In this post, we have made a step-by-step tutorial on How to Set up and Connect Synology Nas as a VPN Server?.I hope you liked it and please do share it with your friends and follow our social media for more.
If you face any problems with the code or have any questions, please feel free to ask in the comments section or contact us.
0 Comments