Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] openvpn + radvd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
aztech
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2002
Posts: 130
Location: Stenungsund, Sweden

PostPosted: Sat Apr 24, 2010 5:16 pm    Post subject: [Solved] openvpn + radvd Reply with quote

Hi

I've set up radvd to announce ipv6 addresses for my lan and it's working great.
Now I thought I'd extend this, so that radvd could serve my VPN also.

The thing is that I cant get it to work since radvd complains about the following ...
Code:

 * Starting IPv6 Router Advertisement Daemon ...
[Apr 24 19:14:03] radvd: no linklocal address configured for tun0
[Apr 24 19:14:03] radvd: error parsing or activating the config file: /etc/radvd.conf         [ !! ]
-----
bionic ~ # ifconfig tun0
tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.8.0.1  P-t-P:10.8.0.2  Mask:255.255.255.255
          inet6 addr: 2001:470:XX:XXX:2::/64 Scope:Global
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:110 errors:0 dropped:0 overruns:0 frame:0
          TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:15002 (14.6 KiB)  TX bytes:15877 (15.5 KiB)

This is my section in radvd.conf, for tun0 ...
Code:

interface tun0
{
        AdvSendAdvert on;
        AdvLinkMTU 1280;
        MaxRtrAdvInterval 300;
        prefix 2001:470:XX:XXX:2::/64
        {
                AdvOnLink on;
                AdvAutonomous on;
        };
};


Does anyone have any tips of sollution for this ?
Back to top
View user's profile Send private message
aztech
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2002
Posts: 130
Location: Stenungsund, Sweden

PostPosted: Sun Apr 25, 2010 9:42 am    Post subject: Reply with quote

Solved it by making a bridge between my land eth and the openvpn tap interface.
Then announce radvd on br0.
Back to top
View user's profile Send private message
Pegasus87
Guru
Guru


Joined: 09 Sep 2004
Posts: 369

PostPosted: Tue Nov 19, 2013 9:33 pm    Post subject: Reply with quote

aztech wrote:
Solved it by making a bridge between my land eth and the openvpn tap interface.
Then announce radvd on br0.

I have some problems with my bridge setup and ipv6 routing described in this post. Can you show me how your bridge configuration in /etc/conf.d/net and your routing table looks like? Thanks!
Back to top
View user's profile Send private message
aztech
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jul 2002
Posts: 130
Location: Stenungsund, Sweden

PostPosted: Wed Nov 20, 2013 11:57 am    Post subject: Reply with quote

Pegasus87 wrote:
aztech wrote:
Solved it by making a bridge between my land eth and the openvpn tap interface.
Then announce radvd on br0.

I have some problems with my bridge setup and ipv6 routing described in this post. Can you show me how your bridge configuration in /etc/conf.d/net and your routing table looks like? Thanks!


Hi

I'm sorry but that server is long gone and I have no backup of it.
Can't even remember that I ever wrote this thread, sorry.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum