I have a user who has a laptop that is joined to the companies internal windows server 2012 r2 domain.
He has network drives mapped via a login script. These work fine internally but when connected via VPN (using the Draytek Smart VPN client) the drives do not work. I know that this is casued by the DNS servers being unable to resolve to the fileserver name on the company network.
The user is currently using the cached domain account to log into the laptop whilst off the company network.
We are curently using the Draytek router as a VPN server.
Can someone tell me the best way to make the user experience when connected via VPN as smooth as possible for the end user.
Hosts file will address DNS issues but the script will not run if you use cached credentials.
John
Correct - I do not use cached credentials. Log in and the script works.
Rob Williams
Will the Draytek client allow you to connect the VPN before you log in? If not you have to use cached credentials. Windows, Cisco and some other VPN clients allow you to do this.
If you do want to use the Hosts file, the following link outlines adding entries to hosts and lmhosts files for DNS and NetBIOS access for server and domain names. https://blog.lan-tech.ca/tag/hosts/
If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.