0.0.2 • Published 7 years ago

vpncmd v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

vpncmd.js

Allows you to manage SoftEther VPN servers using JavaScript. Based on oatazelmasry2/softether.js. Requires a local VPNCMD installation.

Getting started

npm install --save vpncmd
const VPNCMD = require("vpncmd")
const vpncmd = new VPNCMD({
  bin: "/usr/local/vpnclient/vpncmd",
  address: "localhost",
  port: "443",
  password: "",
  hub: ""
})

vpncmd.executeCommand("UserList").then((users) => {
  console.log(users)
})

Roadmap

Currently there are plans to add wrapper functions for frequently used VPNCMD commands. There are also plans for better csv parsing support.

Pull requests are welcomed!