RayDude Advocate
Joined: 29 May 2004 Posts: 2062 Location: San Jose, CA
|
Posted: Tue Dec 18, 2012 11:44 pm Post subject: Open VPN and IPV6? |
|
|
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. |
|