The OpenVPN server however only appears to support IPv4.
You can see in the log below that the OpenVPN Android client is attempting to make an IPv4 connection by using the AAAA record for my host.
I'm not sure how that makes sense since you can't communicate with an IPv6 address directly over IPv4.
I have to wait 30 seconds for several timeouts before it then properly connects over the IPv4 address.
It appears that once it connects it caches this for some period of time. It isn't really clear but at least 50% of the time if I disconnect and reconnect right after it doesn't try the AAAA. But if I leave the app and come back in just a minute or two later it usually goes through the whole process again.
Shouldn't there be a way to force this to only use IPv4 connection? There was a promising setting in the app, but it didn't affect this at all.
Code: Select all
18:30:47.195 -- ----- OpenVPN Start -----
...
18:30:47.214 -- Contacting [2600:1700:X:X]:1194 via TCPv4
18:30:47.214 -- EVENT: WAIT
18:30:57.207 -- Server poll timeout, trying next remote entry...
18:30:57.207 -- EVENT: RECONNECTING
18:30:57.212 -- EVENT: RESOLVE
18:30:57.216 -- Contacting [2600:1700:X:X:X:X]:1194 via TCPv4
18:30:57.216 -- EVENT: WAIT
18:31:07.232 -- Server poll timeout, trying next remote entry...
18:31:07.233 -- EVENT: RECONNECTING
18:31:07.238 -- EVENT: RESOLVE
18:31:07.241 -- Contacting [2600:1700:X:X:X:X]:1194 via TCPv4
18:31:07.241 -- EVENT: WAIT
18:31:17.239 -- Server poll timeout, trying next remote entry...
18:31:17.240 -- EVENT: RECONNECTING
18:31:17.244 -- EVENT: RESOLVE
18:31:17.247 -- Contacting 99.101.XXX.XXX:1194 via TCPv4
18:31:17.248 -- EVENT: WAIT
18:31:17.344 -- Connecting to [access.imydomain.com]:1194 (99.101.XXX.XXX) via TCPv4
...