Opened 9 years ago
Closed 9 years ago
#598 closed Bug / Defect (notabug)
v2.3.8 :: No IPv6-only tunnel is working without IPv4 address space defined
Reported by: | mg16373 | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Generic / unclassified | Version: | OpenVPN 2.3.8 (Community Ed) |
Severity: | Not set (select this one, unless your'e a OpenVPN developer) | Keywords: | IPv6 Only Tunnel |
Cc: |
Description
In some situation a IPv6-only Tunnel is helpful (based on a initiated IPv4 connection) but currently OpenVPN works only when IPv4 addresses are configured. Without IPv4 the local Tunnel-Interface has no addresses. On Ubuntu 14 the Network Manager reports a "Incorrect Configuration" and aborts.
Background:
Friends and customers have only IPv4 address space available. With a OpenVPN-based solution I want to tunnel a IPv6 prefix and a ::/0 route to this client(s). The previous installed IPv4 default route will not override by a default route of the IPv6-only OpenVPN connection.
It's a bug or a feature? ;-) Thank you for a answer.
-Markus
This is intentional. OpenVPN 2.3 (and most likely 2.4) will not work IPv6-only.
But this is not a problem. Just use an IPv4 private network on the tun interface that you do not use for anything else, and do not send any IPv4 routes into the tun - so you can still have your IPv6-default on the VPN, and no IPv4 (besides the tun subnet).