kylemanna / docker-openvpn

🔒 OpenVPN server in a Docker container complete with an EasyRSA PKI CA
https://hub.docker.com/r/kylemanna/openvpn/
MIT License
8.71k stars 2.39k forks source link

Issue with otp #297

Open rahilmohammad opened 7 years ago

rahilmohammad commented 7 years ago

Sun Jul 16 12:29:13 2017 27.59.50.220:24138 TLS Auth Error: Auth Username/Password verification failed for peer openvpn | AUTH-PAM: BACKGROUND: user 'user' failed to authenticate: Authentication failure openvpn | Sun Jul 16 12:29:13 2017 27.59.50.220:24138 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 1024 bit RSA openvpn | Sun Jul 16 12:29:13 2017 27.59.50.220:24138 [user] Peer Connection Initiated with [AF_INET]27.59.50.220:24138 openvpn | Sun Jul 16 12:29:16 2017 27.59.50.220:24138 PUSH: Received control message: 'PUSH_REQUEST' openvpn | Sun Jul 16 12:29:16 2017 27.59.50.220:24138 Delayed exit in 5 seconds openvpn | Sun Jul 16 12:29:16 2017 27.59.50.220:24138 SENT CONTROL [usre]: 'AUTH_FAILED' (status=1) openvpn | Sun Jul 16 12:29:21 2017 27.59.50.220:24138 SIGTERM[soft,delayed-exit] received, client-instance exiting

ChessSpider commented 7 years ago

try changing ownership of the google authenticator files to root

pam only reads the files if they're the same owner.

also look at issue #272 for an important security bugfix