VPN Connection to Synology DS218+
Lessons learned
- If you have a DS-Lite tunnel, then L2TP / IPSec does not work. Below you can find instructions for later, when mobile networks provide IPv6.
- Though the VPN connection works for macOS, it does not work on iOS (iPad) using
OpenVPN Connect(this information may be obsolete, it is dated December 2018)
Install OpenVPN and get the OpenVPN configuration file
-
Install the VPN server with OpenVPN following the instructions (see Set up VPN Server).
- Activate the option [x] Clients den Server-LAN-Zugriff erlauben
This will allow accessing the local network behind the VPN server
- Activate the option [x] Clients den Server-LAN-Zugriff erlauben
-
Ensure that the user of the VPN server of the NAS has the user right to use OpenVPN. I have created a user named
Vpnfor that purpose and stored the password in my password safe. Note that the first letter must be capitalized on macOS. -
Download the OpenVPN configuration from the server using Konfigurationsdateien exportieren and unzip the
openvpn.zipfile. -
(optional): Rename the
VPNconfig.ovpntoBoosRoesrath.ovpn(corresponds to the identifier I want to see in Tunnelblick) -
Edit the
*.ovpnfile and replace the wordYOUR_SERVER_IPby the (dynamic) DNS address of your NAS (for me this ismyhostname.synology.me)
VPN Client for macOS
-
Install Tunnelblick
-
Import the configuration file into Tunnelblick
-
Connect
- Connecting works using LTE via T-Mobile
- As of July 9, 2021 Vodafone seemed not to support IPv6. The IPv4 address of my dynamic DNS server was shown in the connection logs.
VPN Client for iPad and iPhone
-
Install OpenVPN Connect App for iOS
-
Connect the device to your computer (iTunes or Finder) and locate the app ~OpenVPN Connect in
Dateifreigabe(File share?) -
Drag and drop the configuration file
BoosRoesrath.ovpninto that pane of iTunes -
After you have disconnected iTunes you can connect to your OpenVPN
Note:
If the connection cannot be established, then try rebooting the iPad.
References
-
Synology: Set up VPN Server, last visited July 9, 2021
-
Tunnelblick UI for OpenVPN on Mac OS, zuletzt aufgerufen am 27.12.2018
-
Chip: OpenVPN unter iOS einrichten - so geht’s, zuletzt aufgerufen am 27.12.2018
L2TP / IPSec
-
Pritunl Open Source ~OpenVPN Client, zuletzt aufgerufen am 27.12.2018
-
Chip: VPN auf dem iPad einrichten, zuletzt aufgerufen am 26.12.2018
-
Feste IP.net: DS-Lite IPv6 Geräte im Heimnetz erreichbar machen !, zuletzt aufgerufen am 27.12.2018
-
Datamate: Zugriff ins LAN trotz IPv6 und Dual Stack Lite, zuletzt aufgerufen am 27.12.2018
-
Apple: Informationen zu VPN-Protokollen für iPhone, iPad und iPod touch, zuletzt aufgerufen am 27.12.2018