Trying to learn how IPv6 works with OpenVPN, so I wanted to setup following scheme.
I have a VPS server (Ubuntu), which have been allocated a /48 subnet.
ISP ipv6 gateway is XXXX:XXXX:XXXX::1 Server ipv6 address is XXXX:XXXX:XXXX:39::1
The idea is that any clients connecting to server gets an ip address on the XXXX:XXXX:XXXX:39:2::/64 subnet.
Server configuration file is based on the sample configuration from OpenVPN with the following additions:
dev tun tun-ipv6 server-ipv6 XXXX:XXXX:XXXX:39:2::/64 push "route-ipv6 XXXX:XXXX:XXXX:39::/48"
Restarting OpenVPN server gave no problems.
Server is assigned following ip addresses:
eth0: XXXX:XXXX:XXXX:39::1/48 tun0: XXXX:XXXX:XXXX:39::2/64
Client is assigned:
OpenVPN tap: XXXX:XXXX:XXXX:39:2:0:1:0, and I can ping XXXX:XXXX:XXXX:39::1 just fine. However pinging ISP gateway from client makes connection time out.
I can ping ISP ipv6 gateway from server.
I have allowed traffic from XXXX:XXXX:XXXX:39:2::/64 in Ubuntu Firewall.
What am I missing?
I should mention server is running OpenVPN version 2.2.1 - is that the reason for the complaining?