Is it possible to set up a VPN connection (openVPN) on Feodora 30 when the 2FA is activated ?
the gnome applet does not seem to ask for the google authenticator code.
Or do I have to put my password and the authenticator code at the same time ?
Can someone point me to the right documentation ?
Google has a lot of doc but mainly related to the server configuration…
AFAICT you need to add the TOTP code to your password. So if your password is ‘mysecret’ and your TOTP code is 123456 then you should enter ‘mysecret123456’. Here is a nice HOWTO describing such a setup: https://www.mikejonesey.co.uk/security/2fa/openvpn-with-2fa
A note on Freeotp: it seems to not be actively maintained any more (last commit is from 2017). Please use an active alternative instead. (I migrated to andOTP recently which works quite well on Android).
If you try the command line then you get hopefully more information what is happening. It may help to add --verb 4 to the command (see man openvpn). Are you sure that the OpenVPN server you are trying to connect to does support 2FA? Asking because 2FA requires installing additional software and configuration.