Changes

Line 27: Line 27:  
==Configuring HQ office router==
 
==Configuring HQ office router==
 
===OpenVPN===
 
===OpenVPN===
 +
----
 +
====Generating static key====
 
----
 
----
   Line 62: Line 64:  
</table>
 
</table>
    +
----
 +
=====Extracting the key=====
 
----
 
----
   Line 71: Line 75:  
     <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.
+
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/keys/static.key ./
 +
 
 +
The '''[email protected]:/etc/easy-rsa/keys/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.
 +
 
 +
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. Once you've connected to the router with WinSCP, copying the files should be simple enough: just relocate to directory where you generated the key, select the Static key file and drag it to directory on your PC where you would like to store it.
 +
 
 +
'''Please note''': You must select '''SCP''' as File Protocol in WinSCP Session settings.
 
         </td>
 
         </td>
 
     </tr>
 
     </tr>
 
</table>
 
</table>
    +
----
 +
=====Configuring OpenVPN server=====
 
----
 
----
  
0

edits

Navigation menu