Changes

Line 29: Line 29:  
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?|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.  
+
* 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 option 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]]
 +
 +
'''NOTE''': don't forget to copy the other certificates as well.
 
----
 
----
 
* Save the file with an '''.ovpn''' extension. Then click the "Show hidden icons" ([[File:Show hidden icons button v2.png]]) button located in the right hand corner of the Windows taskbar. Then right-click the "OpenVPN GUI" ([[File:Openvpn gui icon.png]]) icon and import your configuration file. When you have done so, the name of your client configuration will appear in the OpenVPN GUI drop-down menu. Scroll your mouse pointer over it and click "Connect":
 
* Save the file with an '''.ovpn''' extension. Then click the "Show hidden icons" ([[File:Show hidden icons button v2.png]]) button located in the right hand corner of the Windows taskbar. Then right-click the "OpenVPN GUI" ([[File:Openvpn gui icon.png]]) icon and import your configuration file. When you have done so, the name of your client configuration will appear in the OpenVPN GUI drop-down menu. Scroll your mouse pointer over it and click "Connect":

Navigation menu