# Overview ![speeddiff](cvpn.png "speed difference") Simple CLI wrapper for Openconnect to support multiple VPN profiles. # Requirements - [bash](https://www.gnu.org/software/bash/) version >= 4.x - [openconnect](https://github.com/openconnect) - [vpn-slice](https://github.com/dlenski/vpn-slice) # Usage ```text ./cvpn [OPTIONS] on|off|status|list [vpnname] Wrapper for openconnect to support multiple VPN profiles. -h show this help -p profile Use selected connection profile -c file Use selected config file (default is /Users/rob/.vpn/config) Config file format: #Specify default profile like this: #default:myvpn2 #Profile,Username,Password,VPNGroup,Vendor,ServerIP,VPNRoutes,ServerCert(script will obtain this and auto-update config file) # Cisco VPNs, group is optional myvpn1,username_1,password_1,vpngroup_1,anyconnect,3.3.3.3,10.0.0.0/24 192.168.0.0/24, myvpn2,username_2,password_2,vpngroup_2,anyconnect,1.1.1.1,172.16.0.0/12, # F5 VPNs myvpn3,username_3,password_3,,f5,1.1.1.1,172.16.0.0/12, ```