OpenWRT does not forward IPv6 traffic

OpenWRT version 18.06.1

# /etc/config/dhcp

config dhcp 'lan'
        option interface 'lan'
        option ra 'relay'
        option ndp 'relay'
        option dhcpv6 'relay'

config dhcp 'wan6'
        option interface 'wan6'
        option ra 'relay'
        option dhcpv6 'relay'
        option ndp 'relay'
        option master '1'

Client cannot ping ipv6.google.com, but router can.

Pinging ipv6.l.google.com [2404:6800:4005:808::200e] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Client get RA from router, and have a public IP 2001:XXXX:..., the default gateway of client is router LAN link local address FE80:....

I have check router firewall rule, LAN to WAN is allow forward.

I can see the ICMP request in the router with tcpdump, but doesn't get ICMP reply.

11:04:11.321780 IP6 2001:XXXX:eae > 2404:6800:4005:809::200e: ICMP6, echo request, seq 134, length 40
11:04:16.051597 IP6 fe80::XXXX:525b > fe80::XXXX:701f: ICMP6, neighbor solicitation, who has fe80::XXXX:feba:701f, length 32
11:04:16.051799 IP6 fe80::XXXX:feba:701f > fe80::XXXX:525b: ICMP6, neighbor advertisement, tgt is fe80::XXXX:feba:701f, length 24
1
1 Like

I have the same issue.

Same here, looking with syscl at accept_ra showed it is off for all interfaces. setting it to 2 made it work miraculously, but no idea how to do it properly in /etc/config or in LUCI.

Anyone?

1 Like