Difference between revisions of "How to install and setup OpenVPN"
(→Client) |
|||
Line 1: | Line 1: | ||
+ | '''* Make sure that TUN/TAP are enabled if using VPS''' | ||
+ | |||
== Server == | == Server == | ||
Revision as of 18:33, 8 November 2015
* Make sure that TUN/TAP are enabled if using VPS
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:
openvpn --config client.ovpn