Skip to content
πŸ”A web panel for controlling an OpenVPN server
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Updated users.php Apr 15, 2018
config Added title to config/WebConfig.php Jun 12, 2018
content Fixed issues with listing empty client Jun 12, 2018
public Added title to config/WebConfig.php Jun 12, 2018
src/OpenVpnPanel/Control Fixed issues with listing empty client Jun 12, 2018
.gitignore Updated .gitignore Jun 12, 2018
README.md Update README.md Apr 9, 2019
composer.json Initial commit Apr 14, 2018
openvpnpanel Updated help message Apr 15, 2018

README.md

OpenVPN Panel

A web panel for controlling an OpenVPN server

Preview

Setup

Add this direcory to your path variable either in ~/.bashrc or using

export PATH=$PATH:/this/directory

Installation

# Download OpenVPN Panel
git clone https://github.com/nathan-fiscaletti/openvpn-panel.git
cd openvpn-panel

# Modify Configuration
#    Set `host` and `port` values in config/server.ini
#    Set `client_storage` in config/server.ini
#        All client configurations will be stored here. This needs to be
#        the same location that is configured in WebConfig.php, and the
#        directory needs to be created before you start the OpenVPN Panel.
#    Set `client_storage` in config/WebConfig.php
#    Set `title` in config/WebConfig.php

# Install Dependencies
sudo apt-update
sudo apt install php composer -y
composer install

# Set up the OpenVPN Server
./bin/openvpn-install.sh

# Running the OpenVPN installation script will
# create a client configuration in the home directory.
# You should delete this and allow the panel to manage
# the certificates.
rm ~/client.ovpn

# Add the default user for the Panel
# (Use a secure password)
sudo openvpnpanel --adduser admin 'password'

# Start the Panel
sudo ./openvpnpanel --start

Commands

Start the panel

openvpnpanel --start

Stop the panel

openvpnpanel --stop

Get the status of the Panel

openvpnpanel --status

Add Panel User

openvpnpanel --adduser [name] [password]

Remove Panel User

openvpnpanel --deleteuser [name]
You can’t perform that action at this time.