openconnect: updated documentation 1442/head
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 20 Jun 2015 10:36:55 +0000 (12:36 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Sat, 20 Jun 2015 10:36:55 +0000 (12:36 +0200)
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
net/openconnect/README

index 7a55da01449958a2d5036e69bd0bc126b58e7934..772b0e3cc6bea6983703c3419663c45a9b228c89 100644 (file)
@@ -10,11 +10,22 @@ config interface 'MYVPN'
         option username 'test'
         option password 'secret'
         option serverhash 'AE7FF6A0426F0A0CD0A02EB9EC3C5066FAEB0B25'
-        option token_mode 'rsa' # when built with stoken support
-        option token_secret 'secret' # when built with stoken support
        option defaultroute '0'
         option authgroup 'DEFAULT'
 
+       # For second factor auth:
+
+       # when a fixed 2FA password can be used
+       #option password2 'my-fixed-2fa-password'
+
+       # RSA tokens, must be built with stoken support
+        #option token_mode 'rsa'
+        #option token_secret 'secret'
+
+       # HOTP/TOTP tokens
+        #option token_mode 'hotp'
+        #option token_secret '00'
+
 The additional files are also used:
 /etc/openconnect/user-cert-vpn-MYVPN.pem: The user certificate
 /etc/openconnect/user-key-vpn-MYVPN.pem: The user private key