IPv6 forwarding is NOT enabled by default

Issue #216 resolved
Rio created an issue

I’m running FreshTomato Firmware 2022.1 K26ARM USB VPN-64K on Netgear R7000. After enable IPv6 in the GUI, the router itself got assigned IPv6 address (via RA) and all LAN devices are assigned IPv6 addresses as well (via PD). But the router is not forwarding IPv6 packets from LAN to WAN. SSH into the router and the cause is clear:

root@r7k:/tmp/home/root# cat /proc/sys/net/ipv6/conf/all/forwarding
0

For now I just manually enable it (or do it in script)

# echo 1 >  /proc/sys/net/ipv6/conf/all/forwarding

But I think it’s a bug that can be fixed.

Comments (8)

  1. M_ars

    can not confirm that on all of my routers i have access.

    Example for my R7000:

    root@R7000:/tmp/home/root# cat /proc/sys/net/ipv6/conf/all/forwarding
    1
    

    I am using DHCPv6 with Prefix Delegation and all is ok

    Can you please show a picture of basic-ipv6.asp

    Edit: do you have some custom scripts in place ?

  2. M_ars

    ahh ok - thx for the picture, now i can follow.

    Problem confirmed, but only if i have br0 + br1 + br2 + br3 enabled / in use.

    ==> What was your last working version? This would help me to fix it easier 🙂

    thx & br

  3. Rio reporter

    I’m running 2022.1 and this is the first version/time I use FreshTomato, so I’m not sure if previous versions have similar problem.

  4. M_ars

    ok, thx for reporting - i think i see it 🙂

    will fix & test it later

    Edit: remove br3 for now… also at basic-network

  5. M_ars

    @pedro i pushed the fix (needed for mips & arm). I checked, now its working correct. topic can be closed

    work-arounds for you Rio right now:

    • remove br3 / LAN3 for now and wait for next release
    • manually enable IPv6 forwarding (--> One note for that: our kernel will wipe out the default route every time you toggle IPv6 forwarding for “all” → and you will have to wait a little bit before you get a new default route)
    • build a new image with the fix 🙂

    thx for reporting

    BR

    M_ars

  6. Log in to comment