This is not an issue in network-manager-openvpn but rather in network- manager itself. It expects any VPN plugin to start IP configuration within 40 seconds of being launched. For reasons unknown that value is hardcoded.
I've created a patch that increases the timeout to 500 seconds and a PPA for it: https://launchpad.net/~elemecca/+archive/ubuntu/nm-vpn Currently it only covers Trusty, but I can add other series on request. ** Package changed: network-manager-openvpn (Ubuntu) => network-manager (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to network-manager in Ubuntu. https://bugs.launchpad.net/bugs/420411 Title: vpn connection handshake times out too soon Status in “network-manager” package in Ubuntu: Confirmed Bug description: Binary package hint: network-manager-openvpn NetworkManager only waits 40 seconds for the VPN to come up. This is too short when using a slow connection as for instance a 64kbps GPRS connection. Calling openvpn manually also timeouts sometimes with the default timeout (60s?), but I am able to override it using the "connect- timeout" option in the configuration file and solve the problem. ProblemType: Bug Architecture: i386 Date: Fri Aug 28 10:55:21 2009 DistroRelease: Ubuntu 9.10 Package: network-manager-openvpn 0.7.1-0ubuntu2 ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash ProcVersionSignature: Ubuntu 2.6.31-7.27-generic SourcePackage: network-manager-openvpn Uname: Linux 2.6.31-7-generic i686 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/420411/+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