cvpn/README.md

36 lines
1.1 KiB
Markdown
Executable File

# Overview
![speeddiff](cvpn.png "speed difference")
Simple CLI wrapper for Cisco's Anyconnect client and F5's BIG-IP VPN client.
# Requirements
- [bash](https://www.gnu.org/software/bash/) version >= 4.x
- [gof5](https://github.com/kayrus/gof5) (for F5 VPNs)
- [openconnect](https://github.com/openconnect) (for Cisco VPNs)
- [vpn-slice](https://github.com/dlenski/vpn-slice) (for Cisco VPNs)
# Usage
```text
rob@crom:cvpn$ cvpn -h
${PATH}/cvpn [OPTIONS] on|off [vpnname]
Wrapper for cisco anyconnect 'vpn' script.
-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(for Cisco, script will obtain this and auto-update config file )
# Cisco VPNs, group is optional
myvpn1,username_1,password_1,vpngroup_1,cisco,3.3.3.3,10.0.0.0/24 192.168.0.0/24,
myvpn2,username_2,password_2,vpngroup_2,cisco,1.1.1.1,172.16.0.0/12,
# F5 VPNs
myvpn3,username_3,password_3,,f5,1.2.3.4
```