Windows clients cannot access public ipv6 unless a few miniutes later while use fw4 nat

my openwrt version was 22.03.0-rc1, this version use fw4, I add masq6 option to firewall and enabled ipv6 nat. but windows cannot access public ipv6, after a few minutes, things goes well, but fw3 doesn't have this problem? is route advertisement problem? how to make it quckly?

does this problem relate to RA Flags, how to set RA Flags?

root@OpenWrt:~# cat /etc/config/dhcp

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        list ra_flags 'none'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

it turns out accept_ra config problem, all.accept_ra not take effect, mus specify wan interface

net.ipv6.conf.default.accept_ra = 2
net.ipv6.conf.all.accept_ra = 2

add below fixed this problem

net.ipv6.conf.eth0.accept_ra = 2

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.