VPN.Client

From Access Information
Jump to: navigation, search


Installing New Server Mrepo smartd RAID Hardening YUM Crontabs LogWatch systemctl firewalld CentOS 7
Packages
Apache Bind Cacti DHCP mariadb Samba Sarg Sendmail Smokeping Rsync Work Apps
Problems VPN VPN Win Extras Bash MailScanner Horde Google CE Wake Up KVM
Other Computer Lab ISO2USB aiContact Google CE Android USB Live SRS XML

Open VPN at a win client

https://openvpn.net/index.php/open-source/downloads.html

https://community.openvpn.net/openvpn/wiki/Easy_Windows_Guide

Download and install....

Client Config Files

  • copy C:\Program Files\OpenVPN\sample-config\client.ovpn to C:\Program Files\OpenVPN\easy-rsa\myclient.ovpn
  • You may have to do this from an administrator dos session.
  • Open myclient.ovpn (or what ever name you called your session)
  • Find the following lines:
ca ca.crt
cert client.crt
key client.key
  • Edit them as follows:
ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\config\\mike-laptop.crt"
key "C:\\Program Files\\OpenVPN\\config\\mike-laptop.key"
  • Where mike-latop is the name you used to create the crt & key on the linus server previously. VPN.v7 Notice that the name of the client certificate and key files depends upon the Common Name of each client.
  • Edit the following line, replacing "my-server-1" with your server's public Internet IP Address or Domain Name. If you need help, see Static Internet IP below.
remote my-server-1 1194

Save the file.

Starting the VPN

With the server already running openvpn....

  1. Open the directory C:\Program Files\OpenVPN\easy-rsa\
  2. You will see the file :: myclient.ovpn
  3. Right click this file and click on
  4. Start OPENVPN on this configuration file
  5. A DOS window opens with a list of lines.
  6. Check for errors/access denied/failures

Set permissions

openvpn does need to run as administrator.

  1. Click Start
  2. Click All Programs
  3. Click Open VPN
  4. Right Click Open VPN GUI
    1. Openvpn01.png
    2. Click the Compatibility Tab
    3. Under Privilage Level tick Run this program as an administrator.
    4. Click OK
    5. Openvpn02.png
    6. On the General tab go to Advanced
    7. Tick Run as Administrator
    8. Click OK
    9. Click OK

Navigate in explorer to the openVPN Program directory

Openvpn03.png

  1. Right click the file openvpn-gui and go to properties.
    1. Click the Compatibility Tab
    2. Under Privilage Level tick Run this program as an administrator.
    3. Click OK
    4. Openvpn04.png
  2. do the same thing for the file openvpn (just to be sure)
  • Did you find this page useful?
  • Do you have an issue that you have not yet fixed?

We can do this for you.

I am available for technical support. Please follow this link. Tech Support Request.
+64-6-880-0000 : ++1-808-498-7146 : help@ai.net.nz
Getting us to help you