cvpn/README.md

30 lines
903 B
Markdown
Raw Normal View History

2023-10-05 09:28:25 +11:00
# Overview
2023-10-11 11:51:03 +11:00
![speeddiff](cvpn.png "speed difference")
2023-10-11 11:45:51 +11:00
Simple CLI wrapper for Cisco's Anyconnect client and F5's BIG-IP VPN client.
2023-10-05 09:28:25 +11:00
# 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-11 11:44:45 +11:00
#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
2023-10-10 10:47:05 +11:00
myvpn3,username_3,password_3,,f5,1.2.3.4
2023-10-05 09:28:25 +11:00
```