Socket
Book a DemoInstallSign in
Socket

slack-openvpn

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slack-openvpn

Script to post slack notification after successful openvpn connection

1.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

slack-openvpn

Installation

npm install -g slack-openvpn

Slack Setup

In order to configure slack-openvpn you will need to set up an incoming webhook into your Slack team. To do this, you will need to install the Incoming WebHooks app. Once installed, copy the value inside Webhook URL. We will need to set this in the next step.

OpenVPN config

In your OpenVPN config on your server add the following lines to your config:

client-connect "/usr/bin/env slack-openvpn --webhookUrl YOUR_WEBHOOK_URL --action connect"
client-disconnect "/usr/bin/env slack-openvpn --webhookUrl YOUR_WEBHOOK_URL --action disconnect"

Restart OpenVPN

sudo service openvpn restart

Now connect to your vpn. You now have slack notifications configured with OpenVPN!

Keywords

slack

FAQs

Package last updated on 03 Oct 2017

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.