OpenWRT + OpenVPN with PP IPv6

Discussion in 'Router' started by 0x1378247, Aug 23, 2018.

  1. 0x1378247

    0x1378247 New Member

    Hello Everybody,

    I am actually having problems with the IPv6 Protocol.

    I have an working OpenWRT router with only IPv4 and the VPN Tunnel now I am interested in activate the IPv6 support. The tun0 interface gets an IPv6 Addressblock from PP, the client gets an IPv6 Adress from the DHCPv6 Server and when I do ping -6 the DNS gets resolved to an IPv6 Adress but the ping is not sent. I have added traffic rules for allowing all ipv6 output traffic from LAN to VPN but nothing helped.

    Does someone have an working OpenWRT with IPv4 / IPv6 over PP VPN Tunnel? I only get IPv4 to work :/

    Additionally my ISP has no IPv6 Support!!!
  2. MixMaster

    MixMaster Member

    Your tun0 device receives a single address, not an address block. You need to NAT your LAN address range to this address, same as for IPv4. Something likes this should work:

    ip6tables -A POSTROUTING -t nat -o tun0 -j MASQUERADE
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice