From b6119433a512aa35a740708c0aaa941e8bf07fea Mon Sep 17 00:00:00 2001 From: Mengyang Li Date: Sat, 24 Oct 2020 21:00:40 -0700 Subject: openconnect: allow specify --protocol from config openconnect v8.10 supports 4 VPN protocols --protocol=anyconnect Compatible with Cisco AnyConnect SSL VPN, as well as ocserv (default) --protocol=nc Compatible with Juniper Network Connect --protocol=gp Compatible with Palo Alto Networks (PAN) GlobalProtect SSL VPN --protocol=pulse Compatible with Pulse Connect Secure SSL VPN This patch allows user to specify protocol use the new "vpn_protocol" option and deprecate the old option "juniper" which seems to be missing in the current openconnect client. Signed-off-by: Mengyang Li --- net/openconnect/README | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'net/openconnect/README') diff --git a/net/openconnect/README b/net/openconnect/README index 7ab2a69cd..e7c60d765 100644 --- a/net/openconnect/README +++ b/net/openconnect/README @@ -32,8 +32,15 @@ config interface 'MYVPN' #option token_mode 'script' #option token_script '/lib/custom/getocpass.sh' - # Juniper vpn support - #option juniper '1' + # For non-anyconnect vpn protocols + # Cisco AnyConnect (default) + #option vpn_protocol 'anyconnect' + # Juniper Network Connect + #option vpn_protocol 'nc' + # Palo Alto Networks GlobalProtect + #option vpn_protocol 'gp' + # Pulse Connect Secure + #option vpn_protocol 'pulse' # Authentication form responses #list form_entry FORM:OPT=VAL -- cgit v1.2.3