OpenVPN for Windows

Setup

Under Windows there are server side modifications necessary to support OpenVPN. Due to this there is a configuration different from the Mac/Linux/Unix version (Port 1195 instead 1194).

First you need to set up OpenVPN.

The following two files must be downloaded (right clicksave as):

Save the files on your desktop:


Copy these two files into the OpenVPN config folder.


Open the file explorer with administrator privileges and insert the two files into Program Files/OpenVPN/config.


This folder contains the following files now:


Open the OpenVPN GUI as administrator. If the program is started without administrator privileges, a connection will be established but you will not be able to access the Internet.


Confirm the following safety warning with Yes:


Right click on the OpenVPN symbol in the system tray, then connect.


OpenVPN will ask for your user name and password. Be sure that there are no white spaces before or after your user name or password (e.g. from copying from mail).


Click Ok and the connection to the Internet will be established.

Always start the OpenVPN GUI as administrator. If the program is started without administrator privileges, a connection will be established but you will not be able to access the Internet.


Optional: Login with password file

You can use a password file with your user name and password stored for login. If you want to login using your stored credentials, you have to modify the OpenVPN configuration:

Open the login–xx.ovpn configuration file by right click and open with:


Use Editor to open the file:


Add a line in the configuration file with content: auth-user-pass password.txt (see screenshot):


Now create the password.txt file. Right click on the desktop:


Into the empty file insert your user name (into first line) and your password (into second line). Save this file as password.txt:


Now copy the modified files *.ovpn, ca-*.crt und password.txt into the OpenVPN config folder:


Open the file explorer with administrator privileges and insert the two files into Program Files/OpenVPN/config:


The following files should be in the folder now:


Now you can start the OpenVPN GUI (see above) and connect to the Internet. OpenVPN will not ask for your account data any longer.

Always run the OpenVPN GUI as administrator! If the program is started without administrator privileges, a connection will be established but you will not be able to access the Internet.