Hi,
since my ISP (ds-light...) startet to throttle certain traffic I want to use a VPN.
I installed OpenVPN on a small Ramnode VPS server and got it working for IPv4 over an IPv6 tunnel.
But I'd like to have both IPv4 an IPv6 working over the IPv6 tunnel.
server config:
port 1194
proto udp6
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
topology subnet
server 10.8.0.0 255.255.255.0
server-ipv6 0000:0000:0:717::/64
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
;push "redirect-gateway-ipv6 def1"
;push "route-ipv6 2000::/3"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify /etc/openvpn/easy-rsa/pki/crl.pem
client config:
client
dev tun
proto udp6
sndbuf 0
rcvbuf 0
remote 0000:0000:0000:589::2 1194
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
comp-lzo
verb 3
My server has the IP 2000:0000:0000:589::2/64 on its venet0 interface. I want to use the 0000:0000:0:717::/64 subnet for the VPN Server. Everything works fine so far. The tun0 on both the server and the client get an IPv6 assinged.
IPv4 connections work fine, IPv6 connections do not go over the VPN tunnel! If I activate the option push "route-ipv6 2000::/3" in the server config both IPv4 and IPv6 do not work. IP forwarding is activated for both IPv4 and IPv6.
What am i doing wrong?