- 4
- 0
- NAS
- DS218+
- Operating system
- macOS
- Windows
- Mobile operating system
- iOS
Hi there,
I installed OpenVPN on a Virtual DSM and would like to make the host DSM on the same subnet accessible for mobile clients (i.e. my iPhone). From what I understand, I need to set up a push route in the server config file and a pull command in the client config file. Port forwarding in the router, DDNS in VM and connection from remote to OpenVPN server inside the Virtual DSM do already work.
But how do I edit the server config file? And which one is the one I need to edit?
Possible config files, found in another forum:
/var/packages/VPNCenter/etc/openvpn/openvpn.conf
/volume1/@appstore/VPNCenter/etc/openvpn/openvpn.conf
/volume1/@appstore/VPNCenter/etc/openvpn/server.conf <-- my guess
I got as far as setting up a SSH connection via Terminal on MacOS and Putty on Windows. But when I navigate i.e. to the server.conf and try to use the command
There is also this folder:
/usr/syno/etc/synovpnclient/openvpn$
I tried to follow the instructions here: Including multiple machines on the server side when using a routed VPN (dev tun), but I don't know how to do it with DSM.
Can anyone help?
I installed OpenVPN on a Virtual DSM and would like to make the host DSM on the same subnet accessible for mobile clients (i.e. my iPhone). From what I understand, I need to set up a push route in the server config file and a pull command in the client config file. Port forwarding in the router, DDNS in VM and connection from remote to OpenVPN server inside the Virtual DSM do already work.
But how do I edit the server config file? And which one is the one I need to edit?
Possible config files, found in another forum:
/var/packages/VPNCenter/etc/openvpn/openvpn.conf
/volume1/@appstore/VPNCenter/etc/openvpn/openvpn.conf
/volume1/@appstore/VPNCenter/etc/openvpn/server.conf <-- my guess
I got as far as setting up a SSH connection via Terminal on MacOS and Putty on Windows. But when I navigate i.e. to the server.conf and try to use the command
open "server.conf"
I get the error message -sh: open: command not found
There is also this folder:
/usr/syno/etc/synovpnclient/openvpn$
I tried to follow the instructions here: Including multiple machines on the server side when using a routed VPN (dev tun), but I don't know how to do it with DSM.
Can anyone help?