adding ipv6 routes wrong for tap
Hi.
I see openvpn adds ipv6 routes always for interface not addresses. I think it should be like in add_route(): something like is_on_link() to determ if interface should be added or address.
Hi,
Quoted 3 lines · Sergey Matveychuk
I see openvpn adds ipv6 routes always for interface not addresses. I think it should be like in
add_route(): something likeis_on_link()to determ if interface should be added or address.
IPv6 routes on TAP doesn't work yet, yes. This is a documented shortcoming and I'll fix it as soon as possible (which might not be as soon as you hope for). TUN works, or setting the routes manually from an "up" script.
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Quoted 11 lines · Gert Doering
Hi,
Quoted 3 lines · Sergey Matveychuk
I see openvpn adds ipv6 routes always for interface not addresses. I think it should be like in
add_route(): something likeis_on_link()to determ if interface should be added or address.IPv6 routes on TAP doesn't work yet, yes. This is a documented shortcoming and I'll fix it as soon as possible (which might not be as soon as you hope for). TUN works, or setting the routes manually from an "up" script.
Rough changing route command works for me:
argv_printf (&argv, "%s add -inet6 %s/%d %s",
ROUTE_PATH, network, r6->netbits, gateway );
But I understand it should be done correctly.
Hi,
Quoted 9 lines · Sergey Matveychuk
Rough changing route command works for me:
argv_printf(&argv, "%s add -inet6 %s/%d %s",ROUTE_PATH, network, r6->netbits, gateway );But I understand it should be done correctly.
On TAP interfaces, in IPv4 you can have the route actually pointing to *other* hosts, not only to the OpenVPN server - and that needs more infrastructure which isn't fully there yet.
It *is* on my TODO list :)
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Hi,
Quoted 3 lines · Sergey Matveychuk
I see openvpn adds ipv6 routes always for interface not addresses. I think it should be like in
add_route(): something likeis_on_link()to determ if interface should be added or address.
This has now been implemented for all affected platforms (2x Linux, FreeBSD, MacOS X/Darwin). Patches have just been sent to the list, but sf-mail is sllloowwwww today...
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...