Difference between revisions of "How to install and setup OpenVPN"
(→Server) |
|||
Line 17: | Line 17: | ||
== Client == | == Client == | ||
+ | |||
+ | If client is going to be scripted, it will need to be compiled by source: | ||
+ | |||
+ | ./configure --enable-password-save | ||
Login to VPN server (must use local system account): | Login to VPN server (must use local system account): |
Revision as of 05:03, 23 November 2015
** Make sure that TUN/TAP are enabled first if using VPS **
Server
Download OpenVPN:
https://openvpn.net/index.php/access-server/download-openvpn-as-sw.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
If client is going to be scripted, it will need to be compiled by source:
./configure --enable-password-save
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