Feeds

VPN security - if you want it, come and get it

Attention WiFi hotspotters: You want it

  • alert
  • submit to reddit

Securing Web Applications Made Simple and Scalable

Step 3: Installing and configuring OpenVPN

Navigate to OpenVPN's downloads page and download the software that fits your machine. In most instances, you'll want to download the most recent stable release of the installer, which for Windows, at time of writing, was the OpenVPN-2.1_rc9-install.exe.

OpenVPN download screen

Download the most recent stable release

Install the program on both the server and client. Be sure to accept all defaults options during installation. If Windows XP displays a message warning that a "TAP-Win32" adapter or "ZRTP Miniport" haven't passed logo testing, don't worry. Just click "Continue anyway" each time the message is shown.

Time to Manage the Keys

OpenVPN gives you the option to use a symmetrical key for the server to authenticate itself to the client and vice versa. This makes the key management significantly easier, but it also diminishes significantly the security of the entire system by eliminating a powerful feature known as perfect forward secrecy. So whatever you do, DON'T USE THE SYMMETRICAL KEY OPTION.

Instead, use OpenVPN's public key infrastructure (PKI), which is much harder for intruders to break. You'll need to generate a certificate authority and separate keys for the server and each client that connects, but the increased security far outweighs the extra work.

Generating and distributing the SSL keys needed for OpenVPN isn't the most intuitive of tasks but thanks to the set of key management scripts included with the OpenVPN package you just installed, you have everything needed to get the job done. To access them, go to the machine that will act as the server and open up a command window (by choosing Start > Run and typing cmd and hitting enter) and type "cd \Program Files\OpenVPN\easy-rsa" (minus the quotes, here and throughout this manual). Your command prompt should now read: "C:\Program Files\OpenVPN\easy-rsa>". Now type the following commands:

init-config
vars
clean-all
build-ca

The first three commands will generate little in the way of a response from your computer. But after typing the last command, you'll be prompted for all kinds of information including your two-letter country code, and state or province. Feel free to enter in the correct information, or leave most of it as is. The only field that must be entered is the Common Name. Enter something like OpenVPN-CA. Congratulations, you have just created your certificate authority key.

Mobile application security vulnerability report

More from The Register

next story
HIDDEN packet sniffer spy tech in MILLIONS of iPhones, iPads – expert
Don't panic though – Apple's backdoor is not wide open to all, guru tells us
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
NEW, SINISTER web tracking tech fingerprints your computer by making it draw
Have you been on YouPorn lately, perhaps? White House website?
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
NUDE SNAPS AGENCY: NSA bods love 'showing off your saucy selfies'
Swapping other people's sexts is a fringe benefit, says Snowden
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
British data cops: We need greater powers and more money
You want data butt kicking, we need bigger boots - ICO
prev story

Whitepapers

Reducing security risks from open source software
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Application security programs and practises
Follow a few strategies and your organization can gain the full benefits of open source and the cloud without compromising the security of your applications.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.