2023-10-05 09:28:25 +11:00
|
|
|
# Overview
|
|
|
|
|
|
|
|
Simple CLI wrapper for Cisco's Anyconnect client.
|
|
|
|
|
|
|
|
# Usage
|
|
|
|
|
|
|
|
```text
|
2023-10-10 10:47:05 +11:00
|
|
|
rob@crom:cvpn$ cvpn -h
|
|
|
|
${PATH}/cvpn [OPTIONS] on|off [vpnname]
|
2023-10-05 09:28:25 +11:00
|
|
|
|
|
|
|
Wrapper for cisco anyconnect 'vpn' script.
|
|
|
|
|
2023-10-10 10:47:05 +11:00
|
|
|
-h show this help
|
2023-10-05 09:28:25 +11:00
|
|
|
-p profile Use selected connection profile
|
2023-10-05 09:30:31 +11:00
|
|
|
-c file Use selected config file (default is /Users/rob/.vpn/config)
|
2023-10-05 09:28:25 +11:00
|
|
|
|
|
|
|
Config file format:
|
2023-10-10 10:47:05 +11:00
|
|
|
#Specify default profile like this:
|
2023-10-05 09:28:25 +11:00
|
|
|
#default:myvpn2
|
2023-10-10 10:47:05 +11:00
|
|
|
#Profile,Username,Password,VPNGroup,VPNType,ServerIP
|
|
|
|
# Cisco VPNs have just user 'server' for status, and group is optional
|
|
|
|
myvpn1,username_1,password_1,vpngroup_1,cisco,3.3.3.3
|
|
|
|
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
|
2023-10-05 09:28:25 +11:00
|
|
|
|
|
|
|
```
|