Changes

Line 59: Line 59:  
  1) cd /etc/easy-rsa
 
  1) cd /etc/easy-rsa
 
  2) openvpn --genkey --secret static.key
 
  2) openvpn --genkey --secret static.key
 +
        </td>
 +
    </tr>
 +
</table>
 +
 +
====Extracting the key====
 +
----
 +
=====Linux=====
 +
----
 +
 +
If you are using a Linux-based OS, extracting files from the router is simple. Just go to the directory on your PC where you want to relocate the files, right click anywhere and choose the '''Open in Terminal''' option. In the Terminal command line use the '''Secure Copy''' ('''scp''') command to copy the files from the router. The full command should look something like this:
 +
 +
$ scp [email protected]:/etc/easy-rsa/static.key ./
 +
 +
The '''[email protected]:/etc/easy-rsa/static.key''' specifies the path to where the Static key is located (replace the IP address with your router's LAN IP); the '''./''' denotes that you want to copy the contents to the directory you are in at the moment.
 +
 +
=====Windows=====
 +
----
 +
 +
<table class="nd-othertables_2">
 +
    <tr>
 +
        <th width=355; style="border-bottom: 1px solid white;></th>
 +
        <th width=790; style="border-bottom: 1px solid white;" rowspan=2>[[File:Winscp login instructions.PNG|770px|right]]</th>
 +
    </tr>
 +
    <tr>
 +
        <td style="border-bottom: 1px solid white>
 +
If you are using Windows, you can copy files from the router using '''WinSCP''', an Open source freeware SFTP, SCP and FTP client for Windows OS. Use the same login information with WinSCP as with CLI or SSH.
 +
 +
'''Please note''': You must select '''SCP''' as File Protocol in WinSCP Session settings.
 
         </td>
 
         </td>
 
     </tr>
 
     </tr>
Line 67: Line 95:  
<table class="nd-othertables_2">
 
<table class="nd-othertables_2">
 
     <tr>
 
     <tr>
         <th width=525; style="border-bottom: 1px solid white;></th>
+
         <th width=355; style="border-bottom: 1px solid white;></th>
         <th width=620; style="border-bottom: 1px solid white;" rowspan=2>[[File:Networking_rut_configuration_example_openvpn_bridge_use_case_3_v1.png|border|class=tlt-border|550px|right]]</th>
+
         <th width=790; style="border-bottom: 1px solid white;" rowspan=2>[[File:Winscp interface example.PNG|770px|right]]</th>
 
     </tr>
 
     </tr>
 
     <tr>
 
     <tr>
 
         <td style="border-bottom: 1px solid white>
 
         <td style="border-bottom: 1px solid white>
Create '''.txt''' file on your computer and copy '''Static key''' to it. Copy from the beginning to the end as in the example.
+
Once you've connected to the router with WinSCP, copying the files should be simple enough: just go to '''/etc/easy-rsa/''', select the Static key file and drag it to directory on your PC where you would like to store it.
 
         </td>
 
         </td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
    +
====Configuring OpenVPN server====
 
----
 
----
  
0

edits