[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Radiusplugin-users] +bird+ipv6 -> proto static and dev tun0, let op
From: |
Samuel Thibault |
Subject: |
Re: [Radiusplugin-users] +bird+ipv6 -> proto static and dev tun0, let openvpn do it? |
Date: |
Fri, 28 Dec 2012 23:48:42 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Samuel Thibault, le Fri 28 Dec 2012 04:18:56 +0100, a écrit :
> Samuel Thibault, le Fri 28 Dec 2012 03:03:13 +0100, a écrit :
> > Maybe there is a way for the plugin to get that interface name, but I'm
> > wondering: isn't it simpler to let openvpn run the commands, by just
> > writing the following to the ccd instead of duplicating the iproute
> > command generation already implemented in openvpn?
>
> Answering myself: the "dev" environment variable probably contains the
> device name. It also seems that
>
> > route-ipv6 2001:910:1059::/48 :: 1
>
> can not be used in the ccd:
>
> Dec 28 04:12:04 vpn ovpn-serveur-test[26404]: Options error: option
> 'route-ipv6' cannot be used in this context
>
> I'm not sure to really understand: why?
I've asked on the openvpn forum, but I'm afraid there is a good reason
for that, so I've gone the dev environment variable way, here is a
patch.
Samuel
framed-ipv6-route.patch
Description: Text document