Changes

no edit summary
Line 22: Line 22:       −
*Now you can import your '''.ovpn''' file to the OpenVPN client by right-clicking on OpenVPN GUI in the hidden icons tray and navigating to '''Import > Import File'''.
+
*Now you can import your '''.ovpn''' file to the OpenVPN client by right-clicking on OpenVPN GUI in the hidden icons tray and navigating to '''Import Import File'''.
 
[[File:Ovpn2.png|left|thumb|336x336px]]
 
[[File:Ovpn2.png|left|thumb|336x336px]]
   Line 33: Line 33:       −
Do not connect yet to your vpn client, we still have to configure the server.
+
Do not connect yet to your VPN client, we still have to configure the server.
    
==Configuring OpenVPN from the server-side==
 
==Configuring OpenVPN from the server-side==
Line 57: Line 57:  
----
 
----
   −
<table class="nd-othertables_2">
+
<br>
 +
----<table class="nd-othertables_2">
 
     <tr>
 
     <tr>
 
         <th width="355;" style="border-bottom: 1px solid white;"></th>
 
         <th width="355;" style="border-bottom: 1px solid white;"></th>
         <th rowspan="2" width="790;" style="border-bottom: 1px solid white;">[[File:Networking_rutx_configuration_examples_l2tp_over_ipsec_windows_10_2_v1.png|770px|right]]</th>
+
         <th rowspan="2" width="790;" style="border-bottom: 1px solid white;">[[File:Ovpn4.png|alt=|right|770x770px]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
Line 66: Line 67:  
<ol>
 
<ol>
 
     <li>'''Enable''' OpenVPN instance.</li>
 
     <li>'''Enable''' OpenVPN instance.</li>
     <li>Change '''Authentication''' to: '''TLS'''
+
     <li>Change '''Authentication''' to '''TLS'''
 +
</li>
 +
    <li>Change '''Encryption''' to '''AES-256-GCM 256'''
 +
</li><li>Change '''Keep alive''' to '''5 10'''
 +
</li><li>In '''Virtual network IP address''' type: '''192.168.15.0'''
 +
</li><li>'''Virtual network netmask''' select: '''255.255.255.0'''
 +
</li><li>Leave everything else default
 +
</li></ol>
 +
        </td>
 +
    </tr>
 +
 
 +
</table>
 +
<br>
 +
----<table class="nd-othertables_2">
 +
    <tr>
 +
        <th width="355;" style="border-bottom: 1px solid white;"></th>
 +
        <th rowspan="2" width="790;" style="border-bottom: 1px solid white;">[[File:Ovpn5.png|alt=|right|770x770px]]</th>
 +
    </tr>
 +
    <tr>
 +
        <td style="border-bottom: 1px solid white">
 +
<ol>
 +
    <li>The last thing left to do is to upload '''Certificates''', firstly upload '''Certificate authority''' ('''ca.crt''' file)</li>
 +
    <li>Upload '''Server certificate''' ('''server.crt''' file)
 
</li>
 
</li>
     <li>Change '''Encryption''' to: '''AES-256-GCM 256'''
+
     <li>Upload '''Server key''' ('''server.key''' file)
 +
</li>
 +
    <li>Now upload '''Diffie Hellman parameters''' ('''dh.pem''' file)
 +
</li>
 +
    <li>Press '''SAVE & APPLY''' button
 
</li></ol>
 
</li></ol>
 
         </td>
 
         </td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
 +
----
 +
==Connecting to the OpenVPN server==
 +
 +
If everything was configurated correctly your OpenVPN server should be '''Active''':
 +
[[File:Ovpn6.png|center|thumb|1110x1110px]]
 +
Now let's try to connect from a '''client''' to the '''server'''.
 +
 +
On your Windows machine right-click on '''OpenVPN GUI''' '''→''' Select your client → Press Connect
 +
[[File:Ovpn7.png|left|thumb|432x432px]]
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
If connection was successfull then you will get following notification:
 +
[[File:Ovpn8.png|left|thumb|357x357px]]
 +
 +
 +
 +
 +
 +
 +
 +
 +
To test if connection is working properly on your Windows machine open '''CMD''' and type ping '''192.168.15.1''' (server's VPN IP) you should get similar response:
 +
[[File:Cmd ping.png|center|thumb|473x473px]]