dennis48309
I currently have a standalone NAS system that receives an IP 10.0.0.4/24 which is subnet mask 255.255.255.0.
The NAS also has a built-in OpenVPN which is set to 10.8.0.1/27 which is subnet mask 255.255.255.252.
My goal here is to be able to communicate with the NAS server which is sharing Windows folders. Unfortunately, I am not able to ping the NAS server or any internal network PCs either. I am able to ping the OpenVPN IP 10.8.0.1. It is my understanding that when I try to connect to the NAS server on 10.0.0.4 my PC running the OpenVPN client does not know how to contact that IP so I must configure a route. The NAS server does not let me configure the server config so all routing settings must be set through the client config or using the Windows route command.
UPDATE:
I added: route 10.0.0.0 255.255.255.252
to my client config file and I can now connect to the Windows shares. I can also ping the router 10.0.0.1 and other PCs but for some reason I can't ping the NAS 10.0.0.4 even though I can connect to it fine in Windows Explorer.
I would be forever grateful if anyone could help me figure out how to properly configure the static routes for this to work. One thing that is confusing me is why the OpenVPN is using a different subnet mask and how to deal with this in the routing. Thanks!