nm-openvpn IPV6 problem with AAAA only record
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager-openvpn (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I cannot connect to an OpenVPN server with AAAA only record : it cannot resolve host address
journalctl -f :
oct. 20 16:03:29 nfl-pad nm-openvpn[29304]: RESOLVE: Cannot resolve host address: xxx.xxx.xxx: Name or service not known
Versions :
ii network-manager 0.9.10.
ii network-
ii network-
ii network-
Of course it works perfectly from command line ... without NM...
It goes further.
If the desktop/laptop only has IPv6 (no IPv4 connectivity) nm-openvpn tries to connect to the IPv4 host and fails, disregardless, that an AAAA record is available and reachable.
Essentially, nm-openvpn does not allow for tcp6-client or udp6-client to be configured or to be autoselected. If IPv6 connectivity is available and an AAAA record for the OpenVPN Server is in place, tcp6-client or udp6-client should be tried/initiated first with fallback to tcp-client/ udp-client.
If no IPv6 connectivity is available, then trying tcp6-client/ udp6-client is not needed. udp-client is not needed.
If no IPv4 connectivity is available, then trying tcp-client/
It has either to be autoguessed (like the Android OpenVPN app does) or be configurable. As it is now, nm-openvpn does neither.
ii network-manager 1.2.2-0ubuntu0. 16.04.3 i386 network management framework (daemon and userspace tools) manager- gnome 1.2.0-0ubuntu0. 16.04.4 i386 network management framework (GNOME frontend) manager- openvpn 1.1.93-1ubuntu1 i386 network management framework (OpenVPN plugin core) manager- openvpn- gnome 1.1.93-1ubuntu1 i386 network management framework (OpenVPN plugin GNOME GUI)
ii network-
ii network-
ii network-
DISTRIB_ID=Ubuntu RELEASE= 16.04 CODENAME= xenial DESCRIPTION= "Ubuntu 16.04.1 LTS"
DISTRIB_
DISTRIB_
DISTRIB_