Synology NAS OpenVPN can't access PC

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
benw#8484
OpenVpn Newbie
Posts: 1
Joined: Tue Sep 26, 2023 11:15 am

Synology NAS OpenVPN can't access PC

Post by benw#8484 » Tue Sep 26, 2023 11:27 am

Hello! Hope someone can help.

So I have successfully set up a VPN instance on my Synology NAS. I can connect to it from my Windows PC from another location, access it, mount shared folders to File Explorer etc.

However, I want to mount a folder from my Windows PC to my Synology NAS, the NAS can't seem to see the PC. I have tried pinging my PC from the NAS with no response. I am assuming I have configured something incorrectly.

Please see my config below:

Server Config
1
dev tun
2
tls-client
3
remote `redacted`
4
route-nopull
5
route 192.168.0.48 255.255.255.255
6
pull
7
proto udp


route-nopull
route 192.168.0.48 255.255.255.255

I was suggested to add the lines above as I had an issue where I wanted to still be able to access devices (Raspberry Pi and so on) on my local network (where my PC is) but still access the NAS at the same time as both locations use the same subnet, not ideal but will stay this way if possible. So I gather that adding those lines only lets me access the NAS (192.168.0.48 at the remote location) through the VPN leaving all other IP's to work 'locally'

Do I need to set a similar configuration to be able to access my PC at the remote location on the NAS?

Thanks for any help!

Post Reply