vpn-switcher is a bash script for switching VPN connections under Linux. In order to alternate VPNs, it will connect to the earliest used VPN.
This small script will be useful in case you:
-
Have already configured a number of VPN connections
-
Need to switch between them, avoiding repetitions
-
Want to stay off the hassle of clicking each time Turn off VPN > Turn on next VPN
-
Want to create a custom shortcut to do this
-
nmcli
-
Saved and working VPN connections
-
Download this script
-
Make it executable
-
Create a shortcut
In Gnome
Settings > Keyboard > Add custom shortcut