Make IPv6 payload work in openvpn

Hi All,

I have an openvpn vpn wich is configured to be dual stack (IPv4 and IPv6) for payload data inside the VPN, this is verified to work.
The openvpn client on my Sony Xperia 10iii works for IPv4 payload, IPv6 is not configured and can’t be used. I even tried to manually configure an IPv6 address on the vpn interface after the initial setup, but this fails.

Usually this wouldn’t be a problem, but my mobile provider recently changed it’s setup to only provide IPv6 addresses (IPv4 connectivity is provided via 6-to-4 NAT). Because my IPv6 VPN setup is ignored the IPv6 default gateway keeps going to the mobile data connection instead of to the VPN. This leads to information leakage and gives a bad user experience (trying to reach an IPv6 capable host reachable via the VPN will wait for a time-out because it’s unreachable via the mobile data connection, after that it falls back to IPv4 which works).

Please make IPv6 as openvpn payload work :slight_smile: . I can’t really pinpoint what’s missing, openvpn supports IPv6, the kernel supports IPv6, so i don’t know what’s missing.

1 Like

Sounds that you could contribute to Testing CLAT for IPv6-only mobile networks - #131 by abranson .

1 Like

Thanks for the link, i’ll see what i can do.