Opened 6 years ago
Closed 9 months ago
#874 closed Patch submission (worksforme)
Can't establish vpn connection with multihome option in some case.
Reported by: | hashiz | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | IPv6 | Version: | OpenVPN 2.4.0 (Community Ed) |
Severity: | Patch Queue: New / awaiting ACK | Keywords: | |
Cc: |
Description
On attached file's network case.
If "multihome" specified, openvpn can't establish connection with following error.
[IPv6 Address] write UDPv6: Can't assign requested address (code=49)
In this case, openvpn tries to bind UDP socket to illegal combination address and interface.
Attachments (2)
Change History (4)
Changed 6 years ago by
comment:1 Changed 5 years ago by
@hashiz any clue why it would try to bind address B with the WAN interface? is there something conflicting in the routing table which makes it believe this to be possible?
comment:2 Changed 9 months ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I would actually like to see the config, a log file with --verb 4
and understand why it's having an interface ID there that is not valid.
Always setting the ifindex to 0 might work in this case, but in the generic case we use the ifindex the OS gives to us, so that is what we need to use.
Maybe it's just an OS bug (we've found a few, in various OSes).
Network description