aboutsummaryrefslogtreecommitdiff
path: root/net/openconnect/README
diff options
context:
space:
mode:
authorGavin Ni <gisngy@gmail.com>2017-11-28 15:04:31 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2017-12-04 16:00:46 +0800
commitede858fb5d7ba27818cea7bde76188a1afe27c1a (patch)
treeef50927f75c52f1cd8c49a33be5b941d1f4ebe36 /net/openconnect/README
parenta13715ea3927643d0280b3f8cbbe1b802e25739d (diff)
openconnect: support reading password from script
"token_mode" add support for "script", which execute "token_script" to get the password. Some token is not supported by OpenConnect natively, e.g. "MobilePass" or "Softoken II" used in Cisco VPN Signed-off-by: Gavin Ni <gisngy@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'net/openconnect/README')
-rw-r--r--net/openconnect/README4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/openconnect/README b/net/openconnect/README
index 1a7b798d5..050c75c02 100644
--- a/net/openconnect/README
+++ b/net/openconnect/README
@@ -26,6 +26,10 @@ config interface 'MYVPN'
#option token_mode 'hotp'
#option token_secret '00'
+ # tokens from script
+ #option token_mode 'script'
+ #option token_script '/lib/custom/getocpass.sh'
+
# Juniper vpn support
#option juniper '1'