Coder Social home page Coder Social logo

nathan-fiscaletti / openvpn-panel Goto Github PK

View Code? Open in Web Editor NEW
12.0 5.0 8.0 61 KB

๐Ÿ”A web panel for controlling an OpenVPN server

Shell 41.02% PHP 42.70% CSS 11.78% JavaScript 0.94% Hack 3.55%
openvpn openvpn-panel web-panel openvpn-server panel php

openvpn-panel's Introduction

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]

openvpn-panel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openvpn-panel's Issues

server not started

i have installed the server but it gives me it`s not connected
and when i try to add user it gives me error
ssss
asaaaa

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.