How do I access my Synology NAS VPN remotely?
I've been working on a home automation project for the past few months and I'm at the stage where I need to control my Synology NAS remotely.
This will involve me controlling a few of the synology devices like my TV, router, network storage and some other stuff.
I've been looking around but it seems that I can't find a good solution to use a VPN so that I can remotely control my NAS. I know that I can use SSH to control it, but this solution doesn't give me the control that I need. Also, it would be nice if I can control the NAS using it's native software.
So, how can I use a VPN to make the NAS behave like I want? You can configure Synology via the IP interface. Use SSH tunneling over SSH to setup a tunnel. There is a howto here and more details here.
You can then connect to the VPN interface of the NAS with SSH tunneling. Alternatively, you could connect to the NAS using it's native GUI. See the screenshot below.
Edit: As mentioned in the comments you can also use the GUI in the OS. I've configured my synology to have the GUI. Once you've logged in via SSH, you can open the GUI. If you're not using public key authentication, you'll need to log in as root, which is disabled by default.
If you are running macOS, you can use the "Remote Management" feature of the NAS to open a graphical UI.
What port does Synology site-to-site VPN use?
I'm looking at doing a Synology network and using a VPN to connect our 2.
5 million user web server.
I've seen a lot of questions about how to do this, but they all say that you need to have a port open on the router. But, I'm not sure what port does the site-to-site VPN use. I know it uses UDP port 1723, but I don't see anything in the instructions about how to set that up.
It's a question that pops up a lot if you read the answers to this question. The site-to-site VPN uses UDP port 1723. I would suggest you start by reading my article about site-to-site VPN.
MattdmNov 21 '10 at 0:12. Thanks for the links, I will check them out. Jeroen KortNov 21 '10 at 0:19. @mattdm, I had been using a VPN to remote desktop to a server on the LAN that was also connected to the Synology. Now that I'm going site-to-site, I'm trying to setup a VPN server on my Synology to connect my desktop to my LAN web server. My only experience with setting up VPN servers is through an OS called OpenVPN, and I was wondering if there are any good guides that cover this type of setup.
Jeroen KortNov 21 '10 at 0:23. 2 Answers.
UDP port 1723 is reserved for Site-to-Site VPN. But it works only when the IP address of the remote host is in the same subnet of your site-to-site. For example, if your network is 192.168.0/24, then the remote IP must be within 192.0/24 (in this case, 10.0/24).
If you are planning to use the same IP address for both your VPN client and your remote web server (which I assume), then you can use a different port for your remote host. Usually, this would be port 443, which is used by HTTPS.
I'm currently using OpenVPN on the Synology, and I have to connect my desktop to my local web server (which is at another IP address) that's connected to my LAN web server.
Related Answers
Is Synology VPN free?
Synology NAS allows the user to set up a VPN tunnel in its Ro...
How to install Synology SSL VPN client?
Synology VPN can be used for accessing your data on remote servers which ar...
How to configure SSL VPN client?
Synology provides some software which can connect to your own V...