Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Open VPN and IPV6?
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
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2062
Location: San Jose, CA

PostPosted: Tue Dec 18, 2012 11:44 pm    Post subject: Open VPN and IPV6? Reply with quote

Every time I enable IPV6 in my kernel, openvpn server stops working. And it fails catastrophically, it screws up the routing table so bad that the machine can talk to the network and the network can't talk to the server.

Sorry I can't post more details, I don't feel like crashing my network to show the bad routing table. Off the top of my head the mistake that's being made is the program setting the routing table is adding eth0 to the table when all data should go through br0. With IPV4 the table looks like this:

[code]Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.1.10.1 0.0.0.0 UG 0 0 0 br0
0.0.0.0 10.1.10.1 0.0.0.0 UG 205 0 0 br0
10.1.10.0 0.0.0.0 255.255.255.0 U 205 0 0 br0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
169.254.0.0 0.0.0.0 255.255.0.0 U 204 0 0 tap0[code]

But with IPV6 enabled, several eth0 entries are added and since they end up with a lower metric than br0, everything breaks.

Is there some magic I need to configure to get openvpn working with IPV6?
_________________
Some day there will only be free software.
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