Create a Server

Setup Synology OpenVPN Server (easy, secure, remote

Setup Synology OpenVPN Server (easy, secure, remote access)

#Setup #Synology #OpenVPN #Server #easy #secure #remote

“SpaceRex”

Visit to see what the current average annual salary for a computer scientist is and request free information about the program. Thanks to SNHU for sponsoring this video!

This tutorial goes over how to setup an OpenVPN server on a Synology NAS to get secure remote access back into your network using a VPN tunnel. This allows you to access your Synology NAS as well as any other devices on the local network security, from where ever you are in the world.

Hire Me!
Post on the Forums!

Other Videos Mentioned:
Unifi Port Forwarding:
Complete Remote Access Guide:

Forum post on VPN hostnames:

OpenVPN Client for windows / Mac / Linux:

Best Synology Line up*:
DS923+ :
DS1621+:
DS1821+:
RS1221+:

#vpn #tutorial #selfhosted

TOC
00:00 Introduction
01:35 VPN vs VPN Server
02:38 Thanks to SNHU for sponsoring this video!
03:56 Who can’t…

source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

44 Comments

  1. Hi Will, big fan of your tutorials! What's your POV on running OpenVPN on NAS vs capable router (e.g. rt6600ax)? Assume router would be preferred? (more secure, easier to configure as no port forwarding required) but NAS would not get its 10.x.x.x direct IP?

  2. Thank you! I've been trying to figure this out for a year off and on and could never get all of the little things just right to get the connection working. Your video explained exactly what needed to be done. Thank you for being thorough

  3. Thank you! This works v well. However, I turned off my Sybnolgy NAS for 5 days as we had workers in the house. After turning on the NAS after 5 days the VPN stopped working. I saw certificate errors in the VPN client log (see below). I had to delete the VPNServer package, including the database and start again. Now it's working ok. Any ideas why it failed, please?
    Error: "VERIFY ERROR: depth=0, error=certificate signature failure: C=TW, L=Taipel, O=Synology Inc., CN=synology"

  4. This did not work with OpenVPN Connect on MacOS; I had to use Tunnelblick as the VPN client instead… not sure why; I was getting some kind of certificate error with OpenVPN Connect; also I running version 6 of DSM, so maybe that's why… idk, maybe I should upgrade to DSM 7

  5. Hello! Thanks for the tutorial. I've got the error when running OpenVPN with exported config:
    Options error: On Windows, –ifconfig is required when –dev tun is used
    Help me, please, I'm totally new to OpenVPN

    UPDATE
    I uncommented the pull option and everything works fine

  6. Followed every step except for Port Forwarding already set up and was getting SO FRUSTRATED. Been having problems with router VPN as well. Discovered that my Port Forwards all had TCP rather than UDP. Such a simple fix! I think quite some time ago I tested and got much better throughput with TCP. I don't remember the details any more, but that's what i get for knowing just a little about a lot of things. Enough to be dangerous.

  7. I just want make sure I understand correctly if I setup my OpenVPN on my NAS and for example using Synology Photos and setup link were they can download a group of photos they will not be able to do it correct?

  8. Hi Rex.
    If I wanted to log in to a stock broker account remotely (not at home, but in another city), to access real time data for trading etc, would you recommend enabling the
    "redirect-gateway def1" in the VPNCConfig.opvn file?
    Thanks

  9. Great video. Best on this topic by far. I followed the instructions and I'm getting an error on OpenVPN and it says 'Missing External Certificate'. I tried creating and exporting a certificate from the NAS but this didn't work and I'm kinda clueless as to what to do next. Any advice?

  10. Hi, I followed your instruction and it worked well. However on the client side (my laptop), the ovpn sometimes asking the client certificate. Is it something important? Or the client will work just fine without the certificate? And if it is something that adding another authenticating level, how am I create the certificate?
    I am hoping that anyone can answer my question as I cannot stop thinking to be curious about it.

    Thanks

  11. Just stumbled across this now. Great video. Thanks! Here´s my problem:
    We have a Synology NAS in our small office. Years ago, somebody set up Open VPN on it, the config file is in my OpenVPN directory. mNow I got a Synology NAS for my home. Can I service two separate NASs through OpenVPN on the same Windown computer? Thanks in advance!

  12. Love these tutorials! Thank you. However, could you please please please create tutorial on how to set up OpenVPN for use with Plex for remote access? Or possibly, a better way to do think somewhat securely. I'm in process of researching "secure" remote access options and getting lost in rabbit hole of possible solution. I just want to be able to remotely watch my Plex content in somewhat secure manner but can't quite figure out how that works, i.e. how do I connect my TV up with VPN to connect to my NAS over secure connection? Thank you

  13. I have this working now, thanks very much for the video – I did have to enable UPNP however because standard port forwarding on my router didn't appear to be working. Allowing the synology to create the upnp ports does. One problem…the vpn is also allowing access to other internal ip addresses (such as the router itself) – have I missed a step somewhere? I really just wanted the vpn for access to the nas.

  14. My OpenVPN server is on a TP Link router, and the setup is the same, the VPN client connection works, I can see everything on the LAN (assuming firewall is turned off on the target machine), but I can't access my NAS (Zyxel NAS326). That NAS doesn't have a firewall either, or at least it's not configurable. Any tips?

  15. I set up successfully after following your instructions. But how could I freeze the IP address for each client because I wanna use remote desktop in windows system. IP changing is really annoying.

  16. Hi Will, this is all very good but how do I setup my laptop to log into my servers and have the same drive mappings as I do at home on, say, my desktops? This is something I can do with my work laptop, so it must be possible somehow. This would make for a really interesting and useful video. Thanks.

Leave a Reply