June 15, 2009

410 words 2 mins read

OpenVPN on Vista 64bit (And Windows 7!)

At our office we use OpenVPN for our VPN needs. This was a change I made a few years back, taking us away from Windows PPTP. It has proved to be an interesting experience, because things do not always “work” on the client side. This is most apparent when dealing with Windows and/or 64-bit computers. It becomes even more fun when the boss wants OpenVPN on his Vista 64 machine. Up until recently it simply wasn’t possible because there were no compiled 64-bit versions. Ok, that isn’t entirely true, I could have downloaded the source code and compiled it myself but… uh… no thanks. Anyways the boss requested this again recently and I actually endeavored to make it work.

First thing you need to do to get OpenVPN on Vista 64 bit running is the latest 2.1 series download. I downloaded and installed rc14 (incidentally rc15 didn’t work), though as of this writing rc18 is available. The first item on their “major new features” list is “Windows Vista-ready on both x86 and x64.” So you should be able to just install the 2.1 RC like you would any previous version. Vista will complain about unsigned drivers, but what’s new (go ahead and hit accept). After that, drop all the proper files and certs into the _\config_ directory and you should be good to go. I’d like to note that previously I’ve needed to include the line “route-method exe” in my .ovpn config file, in order to get proper routing in Vista. I would guess that this isn’t needed any more, but I continue to use it. Your Millage May Vary.

Also, for you gogetters: I am running OpenVPN 2.1 rc16 on my Windows 7 (32bit) powered netbook. It works just perfect, though I still use the route-method line mentioned above. At some later point in time I will experiment without it and see how it runs (Editor’s note: What could possibly go wrong?). Since Windows 7 is mostly Vista (rather, what Vista should have been the first time around), I don’t expect to have any issues with using OpenVPN in Win7, so long as they stabilize it for Vista.

I’ve also discovered in the writing of this blog post that very recently OpenVPN has changed their website all around and is now very commercial. This makes me very sad because it seems like they are trying to obfuscate their open source roots. I predict a fork in the near future.