Changes

no edit summary
Line 1: Line 1:  
==Introduction==
 
==Introduction==
   −
'''OpenVPN''' is an open-source software application that implements virtual private network (VPN) techniques for creating secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities.
+
{{Template:openvpn introduction}}
    
This article provides a guide on how to configure an OpenVPN Tunnel connection between an OpenVPN client on a Windows PC/Laptop and any OpenVPN server using TLS certificates as the authentication method. The examples in this article only apply to '''Windows 7 and later versions'''. For a Linux guide, click '''[[OpenVPN client on Linux|here]]'''.
 
This article provides a guide on how to configure an OpenVPN Tunnel connection between an OpenVPN client on a Windows PC/Laptop and any OpenVPN server using TLS certificates as the authentication method. The examples in this article only apply to '''Windows 7 and later versions'''. For a Linux guide, click '''[[OpenVPN client on Linux|here]]'''.
Line 10: Line 10:     
'''Prerequisites''':
 
'''Prerequisites''':
* A PC or Laptop running on Windows 7 or later version
+
* A PC or Laptop running on Windows 7 or a later version
 
* An active Internet connection
 
* An active Internet connection
 
----
 
----
Line 27: Line 27:  
If you have familiarized yourself with the configuration scheme, installed the necessary software and have all of the devices in order, we can start configuring the OpenVPN client using instructions provided in this section.
 
If you have familiarized yourself with the configuration scheme, installed the necessary software and have all of the devices in order, we can start configuring the OpenVPN client using instructions provided in this section.
   −
The client configuration is stored in a single text file. You can either download an example file from the Internet or use our configuration file as a template, which you can download by clicking '''[[Media:Ovpn.txt|here]]'''. The file stores standard OpenVPN options, the values of which depend on the server type and user preferences, and authentication certificates or file paths to the certificates. Since we'll be using TLS authentication for this example, we'll need to generate '''TLS certificates''' for our configuration to work. The process on how to do that is described '''[[How to generate TLS certificates?|here]]''' in detail.
+
The client configuration is stored in a single text file. You can either download an example file from the Internet or use our configuration file as a template, which you can download by clicking '''[[Media:Ovpn.txt|here]]'''. The file stores standard OpenVPN options, the values of which depend on the server type and user preferences, and authentication certificates or file paths to the certificates. Since we'll be using TLS authentication for this example, we'll need to generate '''TLS certificates''' for our configuration to work. The process on how to do that is described '''[[How to generate TLS certificates (Windows)?|here]]''' in detail.
 
----
 
----
 
* When you have the certificates in order, you can start configuring the client. To do so, simply open the configuration file with any text editor. Enter the OpenVPN options relevant to your configuration. Then copy the contents of the certificates into that file. Below is an example of how the file looks like:
 
* When you have the certificates in order, you can start configuring the client. To do so, simply open the configuration file with any text editor. Enter the OpenVPN options relevant to your configuration. Then copy the contents of the certificates into that file. Below is an example of how the file looks like:
   −
[[File:Ovpn config file windows part 1 v1.PNG]]
+
[[File:Ovpn config file windows part 1 v1.PNG|1150px]]
    
'''NOTE''': don't forget to copy the other certificates as well. The necessary markers are in place inside the example config file.
 
'''NOTE''': don't forget to copy the other certificates as well. The necessary markers are in place inside the example config file.
Line 54: Line 54:     
* Other OpenVPN related articles from our wiki:
 
* Other OpenVPN related articles from our wiki:
** [[How to generate TLS certificates?]] - a guide on generating TLS certificates
+
** [[How to generate TLS certificates (Windows)?]] - a guide on generating TLS certificates
 
** [[VPN#OpenVPN|OpenVPN Manual section]] - OpenVPN section of the router's manual
 
** [[VPN#OpenVPN|OpenVPN Manual section]] - OpenVPN section of the router's manual
 
** [[OpenVPN configuration examples]] - basic OpenVPN configuration scenarios with detailed examples
 
** [[OpenVPN configuration examples]] - basic OpenVPN configuration scenarios with detailed examples
 
** [[OpenVPN traffic split]] - a detailed example on how to configure different default gateways for devices in the router's LAN
 
** [[OpenVPN traffic split]] - a detailed example on how to configure different default gateways for devices in the router's LAN
* [[OpenVPN client on Windows]]
+
* [[OpenVPN client on Linux]]
 +
* [[OpenVPN server on Windows]]
    
==External links==
 
==External links==
Line 65: Line 66:  
* http://www.whatsmyip.org/ - a website where you can check your Public IP address
 
* http://www.whatsmyip.org/ - a website where you can check your Public IP address
 
* https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage - OpenVPN manual
 
* https://community.openvpn.net/openvpn/wiki/Openvpn24ManPage - OpenVPN manual
 +
[[Category:Windows]]

Navigation menu