OpenVPN and DNS for Shared Folders on a Windows Server
-
Hello,
We have a lot of clients who use shared folders off of Windows Server's and I cannot figure out how to have the mapped network drive show using the server dns name instead of its ip address through openvpn. Is it as simple as making a dns host override from MYSERVER01 to go to 192.168.xxx.xxx? Any and all help would be greatly appreciated as I just had to change everyone's mapped drives from DNS to IP on their laptops. :( It just doesn't look as nice. -
Your windows server is located over an OpenVPN tunnel? You want your clients to access that server over the OpenVPN tunnel? If your clients are using pfsense as their dns server than it’s a simple matter of creating a dns record. At that point make sure your clients can route over the tunnel and the appropriate firewall rules are created.
-
@michmoor The clients servers are on the LAN and the server does dns. They remote in over an openvpn tunnel and a firewall rule allows them into the LAN. They are doing split tunneling as they use webapps for their business and that traffic doesn't need routed over the vpn.
-
@tact12
You have to provide the DNS server in the OpenVPN settings to get it pushed to the clients.And since your client might be in another domain as the server they have to use the FQDN to access it. E.g. MYSERVER01.remote.domain