:-)
我尝试寻找问题的解决方案,但除了“这是 OpenVPN 中的一个错误”之外,没有找到任何其他解决方案。
问题本质上是这样的:OpenVPN 与 Google Authenticator 似乎无法在 Ubuntu 16.04 中工作。我读到过一个理论,这是由于现在使用 * 符号进行掩码造成的。我不知道是否如此,但问题如下:
Fri Apr 29 10:12:04 2016 OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Feb 2 2016 Fri Apr 29 10:12:04 2016 library versions: OpenSSL 1.0.2g-fips 1 Mar 2016, LZO 2.08 Enter Auth Username: **** Enter Auth Password: **************** CHALLENGE: Enter Google Authenticator Code Response: ****** Fri Apr 29 10:12:24 2016 Control Channel Authentication: tls-auth using INLINE static key file Fri Apr 29 10:12:24 2016 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Fri Apr 29 10:12:24 2016 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Fri Apr 29 10:12:24 2016 Socket Buffers: R=[212992->200000] S=[212992->200000] Fri Apr 29 10:12:24 2016 UDPv4 link local: [undef] Fri Apr 29 10:12:24 2016 UDPv4 link remote: [AF_INET]192.168.20.97:1197 Fri Apr 29 10:12:24 2016 TLS: Initial packet from [AF_INET]192.168.20.97:1197, sid=cc1d9a0e 7240913e Fri Apr 29 10:12:24 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this Fri Apr 29 10:12:24 2016 VERIFY OK: depth=1, CN=OpenVPN CA Fri Apr 29 10:12:24 2016 VERIFY OK: nsCertType=SERVER Fri Apr 29 10:12:24 2016 VERIFY OK: depth=0, CN=OpenVPN Server Fri Apr 29 10:12:24 2016 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key Fri Apr 29 10:12:24 2016 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Fri Apr 29 10:12:24 2016 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key Fri Apr 29 10:12:24 2016 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication Fri Apr 29 10:12:24 2016 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA Fri Apr 29 10:12:24 2016 [OpenVPN Server] Peer Connection Initiated with [AF_INET]192.168.20.97:1197 Fri Apr 29 10:12:27 2016 SENT CONTROL [OpenVPN Server]: 'PUSH_REQUEST' (status=1) Fri Apr 29 10:12:27 2016 AUTH: Received control message: AUTH_FAILED,Google Authenticator Code must be a number Fri Apr 29 10:12:27 2016 SIGTERM[soft,auth-failure] received, process exiting
具体来说,问题是这样的:
AUTH_FAILED,Google Authenticator Code 必须是数字
只需回答这个显而易见的问题:是的,我绝对、肯定、相当、非常确定我正在使用数字,并且我的键盘实际上正在输出数字:P
该操作系统是全新安装的。
有任何想法吗?
先感谢您