I'm using OpenVPN to connect multiple clients to a file server on a remote network. I'm currently able to successfully connect to the network and server. However the issue is the file server's DNS/hostname is not resolving (this is true for all connected devices on this network) even though I'm able to access the file server via IP.
This is my current network:
Server LAN:
Address space: 192.168.0.0/24
Router address: 192.168.0.1 (this is a DNS server)
File server address: 192.168.0.20
File server host name: FS1
Client LAN:
Address space: 192.168.150.0/24
Router address: 192.168.150.1 (this is a DNS server)
VPN:
Address space: 10.10.10.0/24
OpenVPN server address: 10.10.10.1
This is the OpenVPN options set on the server.
--port 1194
--tls-server
--comp-lzo yes
--persist-key
--persist-tun
--keepalive 10 120
--user nobody
--group nogroup
This is my config file for clients.
client
dev tun
proto udp
dev-node NETGEAR-VPN
remote 192.168.0.1 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca cacert.pem
cert client.pem
key clientd.key
user nobody
group nogroup
cipher AES-256-CBC
auth SHA256
comp-lzo yes
verb 3
"Windows cannot access \fs1" is the error I'm getting when I try to connect to the file server from a file explorer via the client network. the error code is 0x80004005 which is a unspecified error. I'm able to ping the DNS server's ip address but not the host name.
My router on the server network is an Ubiquiti edge router, the file server is running win 2012, and my clients are running win 10. all external DNS related traffic seems to be working. Also I have verified that the server's network is successfully resolving host names locally
If I'm missing any other details please inform me thanks and have a great day!
User contributions licensed under CC BY-SA 3.0