Basic OpenVPN Access Server interactions for Lita
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
locales
spec
templates
.gitignore
.rubocop.yml
.travis.yml
CONTRIBUTING.md
Gemfile
LICENSE
README.md
Rakefile
lita-openvpnas.gemspec

README.md

lita-openvpnas

A Lita handler plugin for some basic OpenVPN Access Server operations.

Installation

Add lita-openvpnas to your Lita instance's Gemfile:

gem "lita-openvpnas"

Configuration

  • config.handlers.openvpnas.hostname - OpenVPN Access Server hostname
  • config.handlers.openvpnas.sacli_dir - Path to the directory containing the sacli utility on the OpenVPN Access Server
    • Defaults to /usr/local/openvpn_as/scripts
  • config.handlers.openvpnas.ssh_user - SSH user to connect to OpenVPN Access Server
    • Defaults to lita

Usage

Unlock the Google Authenticator for a User

openvpn otp unlock <user>

List Currently Connected VPN users

openvpn active users

User must be members of the vpn_admins lita authorization group.