OpenVPN Admin
0.3.2
Administre su OpenVPN con una interfaz web (registra visualizaciones, gestión de usuarios ...) y una base de datos SQL.
# apt-get install openvpn apache2 php5-mysql mysql-server php5 nodejs unzip git wget sed npm curl
# npm install -g bower
# ln -s /usr/bin/nodejs /usr/bin/node
Para instalar npm , se deben agregar backports el estiramiento a sus fuentes.
# apt-get install -t stretch-backports npm nodejs
# apt-get install openvpn apache2 php-mysql mysql-server php-zip php unzip git wget sed curl
# npm install -g bower
# yum install epel-release
# yum install openvpn httpd php-mysql mariadb-server php nodejs unzip git wget sed npm
# npm install -g bower
# systemctl enable mariadb
# systemctl start mariadb
Solo probado en Debian Jessie. No dude en abrir problemas.
Configurar OpenVPN y la aplicación web:
$ cd ~/my_coding_workspace
$ git clone https://github.com/Chocobozzz/OpenVPN-Admin openvpn-admin
$ cd openvpn-admin
# ./install.sh /var/www www-data www-data
Configurar el servidor web (Apache, Nginx ...) para servir a la aplicación web.
Cree el administrador de la aplicación web visitando http://your-installation/index.php?installation
systemctl start openvpn@server )chmod +x /etc/openvpn/update-resolv.sh como rootsystemctl start openvpn@client ) $ git pull origin master
# ./update.sh /var/www
Eliminará todos los componentes instalados (claves y configuraciones OpenVPN, la aplicación web, las reglas iptables ...).
# ./desinstall.sh /var/www