vpncmd

0.0.2 • Public • Published

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!

Readme

Keywords

Package Sidebar

Install

npm i vpncmd

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • sprusr