IPv6 only tunnel breaks IPv4 routing

Post Reply
OpenVpn Newbie
Posts: 1
Joined: Tue Dec 29, 2020 12:39 am

IPv6 only tunnel breaks IPv4 routing

Post by Scoopta » Tue Dec 29, 2020 12:55 am

I have an OpenVPN server that only gives out IPv6 addresses to clients however despite no explicit routes being pushed and no IPv4 configuration whatsoever the android client creates an unreachable default IPv4 route breaking all v4 traffic on the device.

Code: Select all

# ip r s t tun0
unreachable default proto static scope link
Is there a way to prevent the client from creating this route, the server never specifies it and it seems to be specific to the android(or connect) client as the openvpn 2.5.0 client on Linux doesn't make up this route. Pushing a v4 address to the client works as a work around but this isn't really ideal and shouldn't be required.

Post Reply