sthibaul
Hello,
I'm currently setting up openvpn+radiusplugin. The radius server is typically returning this:
Framed-IP-Address = 80.67.176.89
Framed-IP-Netmask = 255.255.255.255
Framed-Route = 141.255.129.0/24 0.0.0.0 1
Framed-IPv6-Route = "2001:910:1059::/48 :: 1"
and as a result, radiusplugin writes corresponding openvpn options in the ccd file. I'm currently implementing the support for framed-ipv6-route in radiusplugin, and for that I'd need to put
route-ipv6 2001:910:1059::/48 :: 1
iroute-ipv6 2001:910:1059::/48
in the ccd file. That however does not work:
Dec 28 04:12:04 vpn ovpn-serveur-test[26404]: Options error: option 'route-ipv6' cannot be used in this context
AIUI, that's because in multi_connection_established, OPT_P_ROUTE is not among option_permissions_mask.
Is there a real reason for not allowing it?
We really need to add the ipv6 route somehow, and openvpn is best placed for that and already has the support for it.