OpenVPN Admin
0.3.2
Administrer son OpenVPN avec une interface Web (enregistre des visualisations, des utilisateurs gérant ...) et une base de données 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
Afin d'installer npm , Stretch Backports doit être ajouté à vos sources.List.
# 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
Testé uniquement sur Debian Jessie. N'hésitez pas à ouvrir des problèmes.
Configurer OpenVPN et l'application 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
Configurez le serveur Web (Apache, Nginx ...) pour servir l'application Web.
Créez l'administrateur de l'application Web en visitant http://your-installation/index.php?installation
systemctl start openvpn@server )chmod +x /etc/openvpn/update-resolv.sh comme racinesystemctl start openvpn@client ) $ git pull origin master
# ./update.sh /var/www
Il supprimera tous les composants installés (touches et configurations OpenVPN, application Web, règles iptables ...).
# ./desinstall.sh /var/www