Friday, July 23, 2010

Joining a machine to an Active Directory Domain across a Hamachi 2 VPN

OK. This is extremely geeky. I put this here just so others who might want to try this can find it. It is possible to join a machine to an Active Directory Domain across a Hamachi 2 VPN. A little bit of trickery is required, but it's actually pretty low-impact. The first step is to make sure that the machine you'd like to join to the domain is a member of the same Hamachi network as the domain controller and that it can see the DC. Ping std.hamachi.logmein.com to get the IP address of the Hamachi intermediation server (I get 64.94.18.75) . On the machine that is joining the domain, set the Local Connection DNS setting to the Hamachi IP address of your domain controller. Now go into the Hamachi 2 client on the machine being joined to the domain. Go to Preferences, Settings, Advanced settings, Server connections, Server address and hardcode the IP address of the Hamachi intermediation server there. Hamachi should then be able to resolve and reconnect to the network. At this point, you can go ahead and join the machine to the domain. The thing to keep in mind is if you ever lose the Hamachi network connection between these machines, check to see if the IP address of std.hamachi.logmein.com has changed and change that setting in Hamachi appropriately.

3 Comments:

Anonymous Anonymous said...

Is this assuming you've installed Hamachi on the Domain Controller? What if Hamachi is installed on a different server than the domain controller?

10/14/2010 01:15:00 PM  
Blogger Corgi, Dr. of Ursinity, Prattling Pasha of Positivism said...

Yes. The DC has to be in the same Hamachi network as the machine you wish to join to the DC. I recently had some problems with this procedure with Server 2008 R2. I need to do some more testing but I haven't gotten around to it.

10/14/2010 05:53:00 PM  
Anonymous Anonymous said...

Gave it a try. Still can't contact DC. Hamachi resolves.
Any troubleshooting ideas?

9/03/2011 04:47:00 PM  

Post a Comment

<< Home