This service runs on the same server as the OpenVPN instance(s) and is able to control them.
- Manage various OpenVPN instances running on the same machine, e.g. UDP/TCP instances
- Get a list of currently connected clients
- Disconnect a client
- Access to connection log
See the documentation repository.
$ composer install
$ cp config/config.yaml.example config/config.yaml
The defaults in this file, and in the other files are for the production deployment setup and will not work well for development.
$ cp config/pools.yaml.example config/pools.yaml
Point configDir
to a writable directory, and optionally modify
the IP configuration.
$ cp config/api.yaml.example config/api.yaml
Initialize
$ mkdir data
$ php bin/init
$ php -S localhost:8009 -t web/
The API is protected using Bearer tokens. There are various "clients"
configured as can be seen in the configuration file together with their
permissions. See config/api.yaml
for the defaults.
Licensed under the Apache License, Version 2.0;