{"id":20205863,"url":"https://github.com/kaplanmaxe/slack-openvpn","last_synced_at":"2025-04-10T12:14:30.256Z","repository":{"id":57150297,"uuid":"105614876","full_name":"kaplanmaxe/slack-openvpn","owner":"kaplanmaxe","description":"Monitor your OpenVPN activity via Slack notifications.","archived":false,"fork":false,"pushed_at":"2022-06-30T06:21:56.000Z","size":76,"stargazers_count":8,"open_issues_count":5,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T13:55:54.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kaplanmaxe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-03T04:39:11.000Z","updated_at":"2022-09-23T04:04:24.000Z","dependencies_parsed_at":"2022-09-03T18:02:06.614Z","dependency_job_id":null,"html_url":"https://github.com/kaplanmaxe/slack-openvpn","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaplanmaxe%2Fslack-openvpn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaplanmaxe%2Fslack-openvpn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaplanmaxe%2Fslack-openvpn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kaplanmaxe%2Fslack-openvpn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kaplanmaxe","download_url":"https://codeload.github.com/kaplanmaxe/slack-openvpn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217082,"owners_count":21066633,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T05:19:50.667Z","updated_at":"2025-04-10T12:14:30.237Z","avatar_url":"https://github.com/kaplanmaxe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slack-openvpn\n\n### Installation\n\n```\nnpm install -g slack-openvpn\n```\n\n### Slack Setup\n\nIn 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.\n\n### OpenVPN config\n\nIn your OpenVPN config on your server add the following lines to your config:\n\n```\nclient-connect \"/usr/bin/env slack-openvpn --webhookUrl YOUR_WEBHOOK_URL --action connect\"\nclient-disconnect \"/usr/bin/env slack-openvpn --webhookUrl YOUR_WEBHOOK_URL --action disconnect\"\n```\n\nRestart OpenVPN\n\n```\nsudo service openvpn restart\n```\n\nNow connect to your vpn. You now have slack notifications configured with OpenVPN!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaplanmaxe%2Fslack-openvpn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkaplanmaxe%2Fslack-openvpn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkaplanmaxe%2Fslack-openvpn/lists"}