mrodalgaard / alfred-network-workflow

Show and change your network settings
MIT License
261 stars 18 forks source link

VPN detects no available options #19

Open joseparreiras opened 2 years ago

joseparreiras commented 2 years ago

I have two VPN software installed. Named GlobalProtect and HotspotShield. However the command vpn does not seem to find neither of them

mrodalgaard commented 2 years ago

Hi, are those VPN softwares installed as applications or setup in System Preferences -> Network? Could you write the output from running scutil --nc list in your Terminal?

bhanquier commented 11 months ago

Hi,

I have the same issue, with an IKEv2 VPN setting set up in System Preferences => Network.

scutil --nc list output is "Available network connection services in the current set (*=enabled):"

Capture d’écran 2023-11-17 à 11 37 35
mrodalgaard commented 7 months ago

Hi, this workflow parses the output of scutil --nc list, which should list all VPNs configured through System Preferences -> Network. "Available network connection services in the current set (*=enabled):" is the first line, but a list of VPN connections should follow. My output of scutil --nc list is fx:

Available network connection services in the current set (*=enabled):
* (Disconnected)   E3A8F336-CCEB-4A29-B50A-FBAD41D84A71 PPP --> L2TP       "My VPN"                         [PPP:L2TP]