Simple CLI wrapper for Cisco and F5 VPN clients.
Go to file
Rob Pearce 3852304c59 Rewritten to support connecting to multiple vpns simultaneously. 2023-10-13 20:38:55 +11:00
README.md Remove requirement for gof5 = just use openconnect for everything. 2023-10-12 09:22:37 +11:00
cvpn Rewritten to support connecting to multiple vpns simultaneously. 2023-10-13 20:38:55 +11:00
cvpn.png Add screenshot 2023-10-11 11:51:03 +11:00

README.md

Overview

speeddiff

Simple CLI wrapper for Openconnect to support multiple VPN profiles.

Requirements

Usage

./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,