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

vpnmon

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vpnmon

One issue with VPN connections on macOS is that they do not automatically reconnect. This script will continually monitor the VPN connection and attempt to reconnect if the connection is lost.

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

TO INSTALL:

npm install -g vpnmon

vpnmon

This will monitor a VPN connection. If the connection is lost it will attempt to reconnect.

usage: vpnmon [--name=<CONNECTION_NAME>] [--secret=<SHARED_SECRET>] [--config=<CONFIG_FILE> ]

example configuration

{ "name": "superVPN", "secret": "supersecret", "connectionTimeout": 15, "waitTimeout": 5, "postConnect": "killall -TERM dnsmasq; /usr/local/sbin/dnsmasq" }

name = the name of the VPN connection (as seen in network settings) secret = the L2TP/IPSEC secret connectionTimeout = number of seconds to wait for the connection to be established waitTimeout = number of seconds to wait before checking the vpn connection status postConnect = a command to execute after the VPN is established

Keywords

FAQs

Package last updated on 08 Sep 2019

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