[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Openvpn 2fa google



Hello

I use Google for 2FA. My configuration is as follows. However, I could
not log in. Stn. When I configure it with TLS I am able to login. But
unfortunately it doesn't work when I add 2fa. What could be the
problem ?

-% error:
TLS Auth Error: Auth Username/Password verification failed for peer

-% Pam_config:
auth required /usr/lib/x86_64-linux-gnu/security/pam_google_authenticator.so
secret=/etc/openvpn/google-authenticator/${USER} forward_pass
account    required     pam_permit.so

-% usr_create:
sudo su -c "google-authenticator -t -d -r3 -R30 -f -l \"My VPN\" -s
/etc/openvpn/google-authenticator/client2981" - gauth



Thanks.

-- 
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀


Reply to: