Setting up OpenVPN

Change the OpenVPN configuration for “split tunnelling”. It’s a setting in the client config file (i think it’s called redirect-gateway) that needs to be disabled as to not to route all traffic over the VPN.

Synology no longer allows applications to run as root. The result is that installation is no longer a click and install process from the App Store. You need to run various commands via ssh as well as setting up a task to ensure that the application can run at start up. This still only allows inbound connections, nothing out. Zerotier (similar to TailScale) have said that they won’t be providing a package going forward and to use a docker container instead. For most home users I believe that configuring a VPN server is now a simpler option.

https://tailscale.com/kb/1131/synology/

I toggled that but i read that it splits the local traffic, routing that to the local network that belongs to the instance of the openvpn (my father’s lan in this case), while it routes the external internet traffic (google, facebook etc) via the ip of the network it is attached to

So if i scan the local network I see my father’s netwok, while if I look for my public ip, it displays my home’s public ip.

Still, I haven’t figured out how to see my local network AND my father’s in two different ways, and how to distinguish between that.

With my other vpn app (torguard) I see i can route some traffic through the vpn app (i.e. netflix via the usa vpn server) and some other traffic out of the vpn connection (so like, google, sees me as my local italian connection)

I’m not sure what your situation is, but you can not mix multiple VPNs. You can also not “scan” the network.

Access the remote NAS by using it’s internal IP over the OpenVPN. Not by name or any other way. Access your local network like you normally do.

yes, i didn’t scan the network, i accessed via smb://192.168.1.51 as i would at his home.

The solution i was lookin for was :

  • open this smb://192.168.1.51 via openvpn for my dad’s nas
  • open this smb://192.168.1.90 via ethernet for my own nas

Oh I see your issue.

To set up a VPN you need two different IP ranges in both locations. Otherwise you get a network conflict.

Eg.

192.168.1.0 for the remote network

192.168.2.0 for your own network.

This requires a change in your router (router DHCP settings and router Internal IP address).

oh ok, thanks for the info!

I didn’t know about this, so is something i’ll look into it , thanks!