I have a Raspberry Pi at home with pivpn installed and when I connect to the VPN it works fine when connecting to internet. However, I can't connect to my LAN, for example to access to my NAS.
When I connect my I get the IP 192.168.4.17 which is outside from my LAN addressing, 192.168.0.0/24. How can I solve that??
server 10.8.0.0 255.255.255.0
# Set your primary domain name server address for clients
push "dhcp-option DNS 126.96.36.199"
push "dhcp-option DNS 188.8.131.52"
# Prevent DNS leaks on Windows
# Override the Client default gateway by using 0.0.0.0/1 and
# 184.108.40.206/1 rather than 0.0.0.0/0. This has the benefit of
# overriding but not wiping out the original default gateway.
push "redirect-gateway def1"
keepalive 1800 3600
status /var/log/openvpn-status.log 20
#DuplicateCNs allow access control on a less-granular, per user basis.
#Remove # if you will manage access by user instead of device.
# Generated for use by PiVPN.io