Changes

no edit summary
Line 1: Line 1: −
__TOC__
   
==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 Linux PC/Laptop and any OpenVPN server using TLS certificates as the authentication method. The examples in this article are created from a '''Ubuntu 16.04''' distribution perspective, although they should apply to most newer '''Debian''' and even some other distributions as well. For a Windows guide, click '''[[OpenVPN client on Windows|here]]'''.
 
This article provides a guide on how to configure an OpenVPN Tunnel connection between an OpenVPN client on a Linux PC/Laptop and any OpenVPN server using TLS certificates as the authentication method. The examples in this article are created from a '''Ubuntu 16.04''' distribution perspective, although they should apply to most newer '''Debian''' and even some other distributions as well. For a Windows guide, click '''[[OpenVPN client on Windows|here]]'''.
Line 41: Line 40:  
If you're using your own server and need to create a configuration file, you can either find one online or just download our configuration file from '''[[Media:Example.ovpn|here]]''' and use it as a template. If you don't have TLS certificates, you can  
 
If you're using your own server and need to create a configuration file, you can either find one online or just download our configuration file from '''[[Media:Example.ovpn|here]]''' and use it as a template. If you don't have TLS certificates, you can  
 
<br>
 
<br>
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 (if you plan on using your own TLS certificates, you can find a detailed guide on how to generate the '''[[How to generate TLS certificates?|here]]'''. Below is an example of how the file looks like:
+
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 what the file looks like:
 
<br>
 
<br>
[[File:Ovpn config file linux.png|1150px]]
+
[[File:Ovpn config file linux.png|1130px]]
 
</li>
 
</li>
 
</ul>
 
</ul>
Line 91: Line 90:     
* 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
   
** [[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
Line 101: Line 99:  
* 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:Linux]]