- Created by zillding
- 🗓 Last Updated: 22/06/20 11:20:25
- 🌟 Stars on GitHub: 2
- Love this? Consider supporting the creator by Starring or Sponsoring this on GitHub!
- Get Source Code
From their README
Alfred workflow to list configured VPN profiles and connect to/disconnect from a selected one (support IKEv2 service)
Built-in Mac CLI tools (
networksetup) do not work with IKEv2 services at the moment. Refer to https://blog.timac.org/2018/0719-vpnstatus/ for more details. Special treatment is requried to support IKEv2 services. This workflow solves the problem.
npm install --global alfred-vpnutil
Requires Node.js 12+ and the Alfred Powerpack
In Alfred, type
vpn, all configured VPN profiles will display in a list with their connection status.
Continue typing Space, and your query to filter the list.
Select an item and press Enter to connect/disconnect based on the current connection status.