OpenVPN name resolution to windows Active Directory
I got my openvpn clients to map to machine names. I was running into a problem with dfs roots. Had to be able to map to \\domain\root instead of \\serverip\share through my untangle firewall and nat using openvpn.
Open your network connections and look for the TAP adapter. Mine is v9 from the upgrade a few days ago.
Open TCP v4 settings
Advanced button
I added my AD server as the first DNS entry, untangle dns is second
WINS tab – enter your wins server addy, if you don’t have wins, put it on, it is useful still for things like OWA and exchange 2003. Several other MS things don’t work properly without it 9 years after it was supposed to die
Netbios over TCP- enable that
Back on the DNS tab, i told it to append my domain.com name. It was trying to append my .is-a-geek.com domain name from my house a few times in troubleshooting. I have vpn working without this setting at a warehouse client of mine. So don’t worry if you dont have a domain to add.
That should be it. I’ll post the bat file I wrote for restarting the openvpn service and pinging when I have a few more minutes to post.
Don’t forget you can go into services and start openvpn as a service. It won’t connect inside your network by default. So it automatically knows when to enable. This is great for doing remote maintenance when users are online. This gets you around user complaints about the openvpn gui having to run as adminstrator on vista and 7 because it is happy as a service.
For the search engines-
Untangle openvpn won’t map a drive using name DNS
Openvpn dns mapping windows vista
« Linux goodness and problems continued
Untangle firewall common ports to unblock »