VPN

Windows

Installing client software

Run installation of OpenVPN client. You can download it from here.

OpenVPN-step1

 Click Next.

Read the License Agreement and if you agree click I Agree.

OpenVPN-step3

Make sure that 'EasyRSA 2 Certificate Management Scripts' is checked. Click Next.

OpenVPN-step4

Leave default destination path and click Install

OpenVPN-step6

When completed, click Next.

OpenVPN-step7

And finally Finish.

Generating CSR

Now you have to generate a Certificate Signing Request.

For the purpose of this guide the username/login or filenames will be taken as 'jdoe'. 
Remember to change it to your username when issuing a command or inputing extra informations!


First, download below files and save them in 'C:\Program Files\OpenVPN\easy-rsa\'

easy-rsa environment scriptvars.bat
easy-rsa CSR creating scriptbuild-csr.bat

When both files are saved, go to Windows search box and type cmd

CSR-step1

Run it as administrator.

CSR-step2

Copy and paste below commands, line by line, hit Enter after every pasted line.


 cd "c:\Program Files\OpenVPN\easy-rsa"
CSR-step3

 vars.bat
CSR-step4

 build-csr.bat jdoe

Pay attention to replace 'jdoe' with your username!

CSR-step5

Please input your login as 'Common Name' and fill up properly your 'Name' and 'E-mail Address' fields.

CSR-step6

At this point you should have created two files in 'C:\Program Files\OpenVPN\config'.

jdoe.key and jdoe.csr

Attach ONLY jdoe.csr file in an e-mail message to hpc@meil.pw.edu.pl with request of signing. Please use your WUT or IAAM e-mail account.

To proceed to next step you have to get reply from HPC Administrator.

 Copying required files

When the HPC Administrator replays to your request you should get two files:

jdoe.crt and jdoe.ovpn

Copy both to 'C:\:Program Files\OpenVPN\config'
Copy also below files to the same location:

Certificate Authority certificateCA.crt

 Ready to fire up!

 If you completed above procedure and all four files (.key, .crt, .ovpn, CA.crt) are present in your config directory, locate OpenVPN client icon near the clock, at the right bottom of your screen.

 

OpenVPN-icon

 

 

Right click on it and select Connect.

 OpenVPN-step9

 

 

 

 

 

 

Right click on it and select Connect.

 

OpenVPN-step10

A window will show up.

OpenVPN-step11

When the client connects succesful you will get a notiofication like above. Done!