update readme to cover f5 vpn confi

This commit is contained in:
Rob Pearce 2023-10-10 10:47:05 +11:00
parent c86fdcd72b
commit 119d9c0d38
1 changed files with 10 additions and 5 deletions

View File

@ -5,18 +5,23 @@ Simple CLI wrapper for Cisco's Anyconnect client.
# Usage # Usage
```text ```text
/Users/rob/scripts/cvpn [OPTIONS] on|off [vpnname] rob@crom:cvpn$ cvpn -h
${PATH}/cvpn [OPTIONS] on|off [vpnname]
Wrapper for cisco anyconnect 'vpn' script. Wrapper for cisco anyconnect 'vpn' script.
-h show this help
-p profile Use selected connection profile -p profile Use selected connection profile
-c file Use selected config file (default is /Users/rob/.vpn/config) -c file Use selected config file (default is /Users/rob/.vpn/config)
Config file format: Config file format:
#Specify default profile like this:
#default:myvpn2 #default:myvpn2
myvpn1,username_1,password_1,vpngroup_1 #Profile,Username,Password,VPNGroup,VPNType,ServerIP
myvpn2,username_2,password_2,vpngroup_2 # Cisco VPNs have just user 'server' for status, and group is optional
# This one has no 'group' myvpn1,username_1,password_1,vpngroup_1,cisco,3.3.3.3
myvpn3,username_3,password_3ofile Use selected connection profile myvpn2,username_2,password_2,vpngroup_2,cisco,1.1.1.1
# F5 VPNs must have a 'server'
myvpn3,username_3,password_3,,f5,1.2.3.4
``` ```