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 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1338382 Title: nmcli - Disconnect VPN Without Specifying ID or UUID To manage notifications about this bug go to: https://bugs.launchpad.net/network-manager/+bug/1338382/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs