I manually built the package with the 2fa.patch, but it still doesn't
work. NM just ask for my password, it never ask for the 2FA code.

On Windows/Android/iOS clients, I have this line in client configuration:
static-challenge "Please enter 2FA code" 1

NM seem to ignore that line. Nowhere I see a reference to that in the
GUI or in the connection configuration file located at
/etc/NetworkManager/system-connections.

Work fine when using openvpn --config myconfig.ovpn in CLI.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1322728

Title:
  VPN Connection Failed With 2 Factor Authentication

Status in network-manager-openvpn package in Ubuntu:
  Confirmed

Bug description:
  Hi all,

  my setup is an openvpn access server with google 2 factor auth

  i was trying to connect to my VPN using the gnome openvpn module and
  get the following errors on syslog:

  May 23 22:23:00 laptop nm-openvpn[18049]: [OpenVPN Server] Peer Connection 
Initiated with [AF_INET]xx.xx.xx.xx:1194
  May 23 22:23:02 laptop nm-openvpn[18049]: AUTH: Received control message: 
AUTH_FAILED,CRV1:R,E:d1r12r21df232+owqrf23t23t23tCn:aXRf3r2s=:Enter Google 
Authenticator Code
  May 23 22:23:02 laptop nm-openvpn[18049]: SIGTERM[soft,auth-failure] 
received, process exiting
  May 23 22:23:02 laptop NetworkManager[1043]: <warn> VPN plugin failed: 0

  i looked in the documentation but didn't found anything useful.

  any help will be appreciated

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-openvpn/+bug/1322728/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to