Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #235839
| From | Gokan Atmaca <linux.gokan@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Openvpn 2fa google |
| Date | 2021-06-03 14:50 +0200 |
| Message-ID | <ClUXn-1nB-1@gated-at.bofh.it> (permalink) |
| References | <ClFbX-9h-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
the error is as follows. Verification code is correct.
-% error:
openvpn(pam_google_authenticator)[16239]: Invalid verification code for usi21
On Wed, Jun 2, 2021 at 10:58 PM Gokan Atmaca <linux.gokan@gmail.com> wrote:
>
> 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
> ⠈⠳⣄⠀⠀⠀⠀
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Openvpn 2fa google Gokan Atmaca <linux.gokan@gmail.com> - 2021-06-02 22:00 +0200 Re: Openvpn 2fa google Gokan Atmaca <linux.gokan@gmail.com> - 2021-06-03 14:50 +0200
csiph-web