On 18/12/16 02:16, W. Martin Borgert wrote:
> Hi,
> 
> I have two PCs with the same OpenVPN client configuration. One is
> running openvpn 2.3.11 (-2, Debian 9) and works fine, the other one
> has openvpn 2.3.4 (-5+deb8u1, Debian 8) and fails with a timeout.
> 
> On both machines I use network-manager-openvpn in their respective
> versions (1.2.6-2 on the "good" one, 0.9.10.0-1 on the other).
> 
> With both clients, I'm in the same WLAN. The OpenVPN server name
> resolves to the same IP address on both machines.
> 
> Because things work with one client, but not the other, I rule out
> any server problems. Also, I don't have server shell access.
> 
> With the older machine, I get the following in the journal/syslog:
> 
> systemd[1]: Starting OpenVPN service...
> systemd[1]: Started OpenVPN service.
> NetworkManager[2443]: <info> VPN: loaded 
> org.freedesktop.NetworkManager.openvpn
> NetworkManager[2443]: <info> new connection 
> /etc/NetworkManager/system-connections/VPN connection 
> 1-ca731400-4dbe-4780-9bfc-ed8b47d6fae5
> NetworkManager[2443]: <info> new connection 
> /etc/NetworkManager/system-connections/VPN connection 1
> NetworkManager[2443]: <info> Starting VPN service 'openvpn'...
> NetworkManager[2443]: <info> VPN service 'openvpn' started 
> (org.freedesktop.NetworkManager.openvpn), PID 3796
> NetworkManager[2443]: <info> VPN service 'openvpn' appeared; activating 
> connections
> NetworkManager[2443]: <info> VPN plugin state changed: starting (3)
> NetworkManager[2443]: nm-openvpn-Message: openvpn started with pid 3803
> NetworkManager[2443]: <info> VPN connection 'VPN connection 1' 
> (ConnectInteractive) reply received.
> nm-openvpn[3803]: OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] 
> [EPOLL] [PKCS11] [MH] [IPv6] built on Nov 12 2015
> nm-openvpn[3803]: library versions: OpenSSL 1.0.2j  26 Sep 2016, LZO 2.08
> nm-openvpn[3803]: WARNING: No server certificate verification method has been 
> enabled.  See http://openvpn.net/howto.html#mitm for more info.
> nm-openvpn[3803]: NOTE: the current --script-security setting may allow this 
> configuration to call user-defined scripts
> nm-openvpn[3803]: UDPv4 link local: [undef]
> nm-openvpn[3803]: UDPv4 link remote: [AF_INET]213.172.126.10:1194
> NetworkManager[2443]: <warn> VPN connection 'VPN connection 1' connect 
> timeout exceeded.
> NetworkManager[2443]: nm-openvpn-Message: Terminated openvpn daemon with PID 
> 3803.
> nm-openvpn[3803]: SIGTERM[hard,] received, process exiting
> NetworkManager[2443]: <info> VPN service 'openvpn' disappeared
> 
> Any idea on how to solve or at least debug this?

Try starting a VPN config via the command line as root, as the
NetworkManager-openvpn plugin isn't really adding too verbose logging.
And when doing the command line approach, ensure --verb is set to 4,
that provides a lot of useful info for this kind of debugging.

However, it seems to me there might be some connectivity issues, where
the OpenVPN client does not get a reply from the server.  But that is
just a very vague hunch.

Please pastebin the complete log, including timestamps, with --verb 4
and we might be able to provide a more informative feeback.


-- 
kind regards,

David Sommerseth
OpenVPN Technologies, Inc


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to