Network manage has a command line interface for controlling its connections: look at nmcli and nm-tool. If VPN already works with NM on the menu bar then this is as simple as it gets.
Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Content on this site is licensed under a CC-BY-SA 3.0 license.