vpnmon

1.0.4 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i vpnmon

      Weekly Downloads

      0

      Version

      1.0.4

      License

      ISC

      Unpacked Size

      5.44 kB

      Total Files

      5

      Last publish

      Collaborators

      • cyclingasia