Install OpenVPN Access Server
OpenVPN Access Server is paid version of OpenVPN with easy to use control panel. You can see license pricing at
https://openvpn.net/access-server/pricing/
First 2 users/devices are free to use. To install download the software from
https://openvpn.net/download-open-vpn/
On this page, you will see downloads for various operating systems.
Install on CentOS 7
To install on CentOS 7, run
1 2 |
wget https://openvpn.net/downloads/openvpn-as-latest-CentOS7.x86_64.rpm rpm -ivh openvpn-as-latest-CentOS7.x86_64.rpm |
Example
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
[root@localhost ~]# rpm -ivh openvpn-as-latest-CentOS7.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:openvpn-as-0:2.7.4_777bcfe6-CentO################################# [100%] The Access Server has been successfully installed in /usr/local/openvpn_as Configuration log file has been written to /usr/local/openvpn_as/init.log Please enter "passwd openvpn" to set the initial administrative password, then login as "openvpn" to continue configuration here: https://158.69.103.158:943/admin To reconfigure manually, use the /usr/local/openvpn_as/bin/ovpn-init tool. +++++++++++++++++++++++++++++++++++++++++++++++ Access Server Web UIs are available here: Admin UI: https://158.69.103.158:943/admin Client UI: https://158.69.103.158:943/ +++++++++++++++++++++++++++++++++++++++++++++++ Beginning with OpenVPN AS 2.6.0 compression is disabled by default and on upgrades as security patch. [root@localhost ~]# |
You can set the password for the system user “openvpn” to access the OpenVPN control panel.
Install on Debian 9
1 2 3 |
apt install -y net-tools wget https://openvpn.net/downloads/openvpn-as-latest-debian9.amd_64.deb dpkg -i openvpn-as-latest-debian9.amd_64.deb |
You need to open the following ports on the firewall for OpenVPN to work.
1 2 3 |
443/tcp 943/tcp 1194/udp |
See VPN