Network manager CLI (nmcli) is a command-line tool for controlling NetworkManager and reporting network status.
I personally use it to connect / disconnect pre-configured VPNs
Here some useful commands
# Show connections
nmcli con show
# Connect
nmcli con up id <name>
# Disconnect
nmcli con down id <name>
0 Comments