Friday, September 22, 2017

How to install OpenVPN Access in CentOS

# wget http://swupdate.openvpn.org/as/openvpn-as-2.1.9-CentOS6.x86_64.rpm
# rpm -Uvh openvpn-as-2.1.9-CentOS6.x86_64.rpm
.
Access Server web UIs are available here:
Admin  UI: https://192.168.1.7:943/admin
Client UI: https://192.168.1.7:943/
.
# passwd openvpn


Different between OpenVPN and OpenVPN Access

In short: OpenVPN Access Server is "almost free" and "just OpenVPN" (Community Edition) is totally free
However, they are configured in different ways. Open AS has indeed a web interface that simplifies (a lot) the tasks for setting it up. Open CE on the other hand, has to be configured by editing some configuration files
OpenVPN Access Server:
pros: very simple an intuitive configuration
cons: limited to two concurrent users. Although each additional one costs only nine USD a year, they are purchased in blocks of ten.
Some web features don´t work well (uploading your own CA certificate is one of them, so you still have to edit some files. See https://openvpn.net/index.php/access-server/docs/admin-guides/175-how-to-replace-the-access-server-private-key-and-certificate.html, method two)
OpenVPN Community Edition:
pros: completely free. Can have multiple concurrent users
cons: configuration is not a simple task
Conclussion:
If you can deal with the two users restriction, go for OpenVPN AS. If not, use OpenVPN AS for configuration and once working, switch to OpenVPN CE using such configuration as base. SeeEasy method of switching from Openvpn-Acess Server to Community Edition?

Client Connection

User Add
# adduser firstclient
[root@ADV-CACTISERVER ~]# passwd firstclient
Changing password for user firstclient.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.


Client connection

No comments:

Post a Comment