mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
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 <mayli.he@gmail.com>
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
37303e1f04
commit
99e77a716b
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user