< Previous | Contents | Next >
1.7.3. OpenVPN with GUI for Win 7
First download and install the latest OpenVPN Windows Installer2. OpenVPN 2.3.2 was the latest when this was written. As of this writing, the management GUI is included with the Windows binary installer.
You need to start the OpenVPN service. Goto Start > Computer > Manage > Services and Applications
> Services. Find the OpenVPN service and start it. Set it's startup type to automatic. When you start the OpenVPN MI GUI the first time you need to run it as an administrator. You have to right click on it and you will see that option.
You will have to write your OpenVPN config in a textfile and place it in C:\Program Files\OpenVPN\config
\client.ovpn along with the CA certificate. You could put the user certificate in the user's home directory like in the follwing example.
# C:\Program Files\OpenVPN\config\client.ovpn client
remote server.example.com port 1194
proto udp dev tun
dev-type tun
ns-cert-type server reneg-sec 86400 auth-user-pass
auth-retry interact comp-lzo yes
verb 3
ca ca.crt
cert "C:\\Users\\username\\My Documents\\openvpn\\client.crt" key "C:\\Users\\username\\My Documents\\openvpn\\client.key" management 127.0.0.1 1194
management-hold
2 http://www.openvpn.net/index.php/open-source/downloads.html
management-query-passwords auth-retry interact
; Set the name of the Windows TAP network interface device here dev-node MyTAP
Note: If you are not using user authentication and/or you want to run the service without user interaction, comment out the following options:
auth-user-pass
auth-retry interact management 127.0.0.1 1194 management-hold
management-query-passwords