Good Day,
I have setup a raspberry pi on my internal network as a OpenVPN server. I am able to connect to it on the public IP using the OpenVPN Windows client. basic VPN seems to be working (when i check my public IP, once connected, it is as per the internal networks).
My issue is that mapped network drives are not accessible, for example drives mapped using \\SOME_INTERNAL_SERVER name. I am able to remap these drives using its IP address however I have tools and systems that need it to be mapped on NAME. How can I fix this?
My client.ovpn looks as follows:
client
proto udp
remote vpn.somenetwork.com 1194
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
verify-x509-name server_L4CReiBJ79AjZ4aN name
auth SHA256
auth-nocache
cipher AES-128-GCM
tls-client
tls-version-min 1.2
tls-cipher TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256
setenv opt block-outside-dns # Prevent Windows 10 DNS leak
verb 3
script-security 2
dhcp-option DNS 10.0.8.1
dhcp-option DOMAIN company.local
The last 3 lines were added after some stack overflow searching but does not seem to help.
If I could get a better understanding of the issue and what steps I can take to identify the cause that would be helpful.
Thanks.