Easily manage your OpenVPN servers from a browser.
Developed on a LEMP stack running Ubuntu 22.04, PHP-FPM 8.1, and MySQL 8.
- Easily add, revoke, and download clients
- Manage an unlimited amount of servers
- Manage an unlimited amount of clients
- View currently connected clients, along with: their bandwidth usage, connection duration, and IP address
- View VPN server bandwidth graph
- Check OpenVPN daemon status
- Start and stop OpenVPN daemon
- Change OpenVPN server port, protocol (TCP/UDP), and DNS server
NOTE: After changing the VPN port or protocol, you must redownload the OpenVPN client configurations. This is because changing the VPN port/protocol requires the client configuration to updated. Downloading the client configuration again will give you an updated version
- Install
php-fpm
(8.0 or higher),php-curl
,php-mysql
, andmysql-server
. - Add the MySQL database by importing
db_structure.sql
. You can do this withmysql -u[user_name] -p [db_name] < db_structure.sql
- Add the repository into your web directory
- Enter your MySQL credentials in
resources/functions.php
- Go to
your_url/signup.php
in a browser to create an account. This page will automatically become restricted after you sign up.
To add a VPN server:
- Follow the instructions to add the API endpoint: https://github.com/bhopkins0/OpenVPN-Webadmin2.0-API
- Set the VPN configuration settings in the VPN Settings page
Adding clients, revoking clients, and downloading clients can be done via Client Manager.
- Deleting VPN servers that are no longer online (such as deleted VPS instance running OpenVPN) from the Webadmin has issues. I believe it is caused from cURL timeouts.