OpenVPN IPV6 Tunnel Radvd
- by Arenstar
Hello..
I have an interesting question regarding ipv6 + openvpn..
My Version is OpenVPN 2.1.1
i have been given a native /64 ipv6 network ( for this example 2001:acb:132:acb::/64 )
The plan was/is, route this block through openvpn and into an office ( for testing purposes )
Soo to explain..
I have a Centos Box as the first linux "router" in a datacenter & a Ubuntu box as the second linux "router" in the office
I have created a simple point-to-point tunnel using tun ( based off ipv4 address to start the tunnel )
I have assigned to Centos
/sbin/ip addr add fed1::1/128 dev eth0
/sbin/ip addr add fed2::2/128 dev tun0
/sbin/ip route add 2001:acb:132:acb::/64 dev tun0 ## ipv6 Block down the tunnel
/sbin/ip route add ::/0 dev eth0 ## Default out to Gateway
I have assigned to Ubuntu
/sbin/ip addr add fed1::3/128 dev tun0
/sbin/ip addr add fed1::4/128 dev eth0
/sbin/ip route add 2001:acb:132:acb::/64 dev eth0 ## ipv6 Block down to eth0
/sbin/ip route add ::/0 dev tun0 ## Default up the tunnel
I have also included on both servers..
sysctl -w net.inet6.ip6.forwarding=1
Looks Good... right??? Wrong.. :(
I am not able to ping fed1::1 from fed1::4 (Ubuntu) (can ping :4,:3,:2)
However, i can ping fed1::1 fed1::2 from :3 ?????? ( very strange )
I am able to access the internet from any ipv6 interface on the Centos Box but clearly not from the Ubuntu box..
Further, i will eventually run radvd on the Ubuntu box eth0, and autoconf the network with ipv6 address's
Anyone with some advice / tips to help me out.. ???
Cheers