Administer OpenVPN Server with a web interface (Users Management, Logs, Visualizations)
- Raspbian, Ubuntu 20+, or Debian 11/12 with Bash access or remote SSH
-
Method 1 (Automatic):
wget -O - https://raw.githubusercontent.com/arvage/OpenVPN-Admin/master/online-install.sh | bash -
Method 2 (Manual):
sudo apt update sudo apt install -y git cd ~ git clone https://github.com/arvage/OpenVPN-Admin openvpn-admin cd openvpn-admin sudo ./install.sh /var/www www-data www-data -
Once the installation is finished browse to
http://your_hostname_or_ip/index.php?installationto create your admin user.
- Raspbian: Only tested on Raspberry Pi 3 with Raspbian Buster (No GUI).
- Ubuntu 22.04 LTS: Tested successfully
- Debian 11 (Bullseye) / 12 (Bookworm): Supported
- Connect to the web application as an admin
- Create a user
- User get the configurations files via the web application (and put them in /etc/openvpn)
- Users on GNU/Linux systems, run
chmod +x /etc/openvpn/update-resolv.shas root - User run OpenVPN (for example
systemctl start openvpn@client)
git pull origin master
./update.sh /var/www
It will remove all installed components (OpenVPN keys and configurations, the web application, iptables rules...).
sudo ./uninstall.sh /var/www