In the new version of nmcli (version 0.9.10.0), you can disconnect all VPN connections with the following command:
nmcli connection show --active | grep vpn | grep -oP .{8}-.{4}-.{4}-.{4}-.{12} | xargs -L1 nmcli con down uuid
In the new version of nmcli (version 0.9.10.0), you can disconnect all VPN connections with the following command:
nmcli connection show --active | grep vpn | grep -oP .{8}-.{ 4}-.{4} -.{4}-. {12} | xargs -L1 nmcli con down uuid