Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux:ovpnwebsrv

Dies ist eine alte Version des Dokuments!


Installation und Konfiguration Ovpn Web Server

Installation Apache2
apt install apache2
Installation PHP Module
apt -y install php php-curl php-apcu php-fpm php-bcmath php-gd php-intl php-pear php-imap php-memcache libapache2-mod-php php-pspell php-tidy php-xmlrpc php-mbstring php-gmp php-json php-xml php-common wget -y
Installation OpenVPN WebServer

Navigieren zum Webserver Dokument Root

cd /var/www/html

Download des OpenVPN WebServers

wget http://cloud.it-mertens.de/index.php/s/Zx8WaKLLxgrRrXC/download/ovpnwebsrv.tar

Entpacken des TAR Archives

tar -xf ovpnwebsrv.tar

Anpassen des Speicherorts der OpenVPN Profile

nano /etc/pivpn/openvpn/setupVars.conf

Hier folgenden Eintrag ändern bzw. anpassen

install_home=/var/www/html

Ggf. vorhandene OpenVPN Profile ins neue Verzeichnis kopieren

cd /home/pi/ovpns
cp *.ovpn /var/www/html/ovpns/
linux/ovpnwebsrv.1639069677.txt.gz · Zuletzt geändert: 2023/04/02 00:59 (Externe Bearbeitung)