Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-vpn-daemon

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-vpn-daemon

OpenVpn Daemon, to be used with node-vpn-client.

  • 0.0.17
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-vpn-daemon

Starts a Openvpn daemon from a node.js program. To be used with the node-vpn-client.

Quick start

npm install node-vpn-daemon
import Daemon from 'node-vpn-daemon'

const daemon = new Daemon({
  // params
  // ovpnFiles: Array of strings with the location of the ovpn files (server will be selected randomly from array at every start)
  // host: manager host default 127.0.0.1
  // port: manager port default 1337
  // wait: miliseconds for the program to wait after each command default 5000
})

daemon.isRunning().then(isRunning => {
  if (isRunning) {
    daemon.kill()
  } else {
    daemon.start()
  }
})

FAQs

Package last updated on 11 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc