Configure OpenVPN client on Windows

How to configure OpenVPN client on Windows:

First download and install the client.

Then we'll need the client files generated on the OpenVPN server: server.crt, ca.crt, client1.crt, client1.key
Copy the files to OpenVPN working directory, for example: C:\Program Files\OpenVPN\config\

Now we need to create config file. Create text document client1 and add configuration strings, for example:

client 
 
dev tun
proto udp
remote 10.10.0.1 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
comp-lzo
verb 4

Extended description of all the strings is here

Save the file with extention .ovpn (client1.ovpn). Config file must be in the same directory as files server.crt, ca.crt, client1.crt, client1.key are.

Run OpenVPN GUI with administrator rights. Icon should appear in Windows tray and all options are there.

 

Was this answer helpful?

 Print this Article

Also Read

CSF

ConfigServer Security & Firewall (CSF) is a powerful iptables configuration tool....

NFS on Centos 6

How to install NFS on Centos 6 yum install nfs-utils nfs-utils-lib Set nfs to start...

Iptables

Iptables is a Linux based packet filtering firewall. It is a service (daemon)...

Backing up VPS from the inside

This guide will show you how to backup your vsp/container "from the inside vps". First of...

Security tips for Linux server

1. Use only  strong passwords for all accounts , especially for root. Always use a secure root...