vpnutil

From their README

alfred-vpnutil

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.

Install

npm install --global alfred-vpnutil

Requires Node.js 12+ and the Alfred Powerpack

Usage

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.

Related