Difference between revisions of "How to install and setup OpenVPN"

From HyperSecurity Wiki
Jump to: navigation, search
 
(Client)
Line 20: Line 20:
 
  Download client.ovpn from link
 
  Download client.ovpn from link
  
Run the following from commandline:
+
Run the following from commandline with sudo or root:
 +
sudo openvpn --config client.ovpn
 
  openvpn --config client.ovpn
 
  openvpn --config client.ovpn

Revision as of 18:30, 8 November 2015

Server

Download OpenVPN:

https://openvpn.net/index.php/download/58-open-source/downloads.html

Install OpenVPN (using Debian):

dpkg -i openvpn-as-2.0.21-Debian7.amd_64.deb

Setup OpenVPN User:

passwd openvpn

Login to VPN server to finish the configuration using openvpn user account:

Admin  UI: https://hostname:943/admin
Client UI: https://hostname:943/

Client

Login to VPN server (must use local system account):

https://hostname:943/
Download client.ovpn from link

Run the following from commandline with sudo or root:

sudo openvpn --config client.ovpn
openvpn --config client.ovpn