Toolstack for next-gen ISPs
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dev/front_endl_mocker
src/main
systemd
web
.gitignore
LICENSE
README.md
config.properties.default
pom.xml

README.md

ISP-ng

##Toolstack for next-gen ISPs

Currently, this daemon aims to ease OpenVPN management (through OpenVPN's management channel), handling user registration, authentication and the assigment of IP addresses from a pool (be it fixed or dynamic). It exposes a REST API, which allows you to add IP address pools, manage active connections etc.

Build instructions

  1. Install JDK 8
  2. Install Maven (apt-get install maven)
  3. mvn clean install

For ubuntu:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer maven
mvn clean install  # in the source code directory

Run instructions

  1. Install JRE/JDK 8
  2. Install jsvc (commons-daemon) and zookeeper
  3. Download the JS libraries and extract them in the web/registration/js dir
  4. Configure the OpenVPN MGMT channel and database in config.properties (see config.properties.default)
  5. /usr/bin/jsvc -cp ISP-NG-VPN-jar-with-dependencies.jar -home /usr/lib/jvm/java-8-oracle/ -user ispng -pidfile /var/run/ispng.pid -cwd [config file dir] be.neutrinet.ispng.VPN

This will auto-create the database tables and run Jetty embedded on https://[hostname]:[port]. However it is also possible to use another webserver to serve the static files (CORS headers are set).

Install instructions

  1. Copy the supplied SystemD service file to your system directory (e.g. /lib/systemd/system on Debian 8)
  2. systemctl reenable ispng

Above will auto-start ISPng after OpenVPN and network are available.