Created By: Zill Ding, 2 Stars, Last Updated: 22/06/20 11:20:25

Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!

From the project's README:


Alfred workflow to list configured VPN profiles and connect to/disconnect from a selected one (support IKEv2 service)

Built-in Mac CLI tools (scutil & 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.