I'm also having a similar issue. Maybe I'm doing something wrong, I'm a noob when it comes to ipv6.
I have a hap ac3, running 7.1.1, connection to ISP via PPPoE, running a DHCPv6 client on the pppoe interface assigns a /56 prefix. I've got multiple vlans in my LAN which work properly with ipv4. I assigned an IPv6 address from the address pool received from the ISP to the `vlan-wifi-ap` interface and configured DHCPv6 server for my wireless clients. They get an ipv6 address and all is ok. Until I add a forwarding rule in the firewall which is supposed to drop invalid packets (connection-state=invalid), but it seems it thinks a lot of traffic is invalid!
Working IPv6 config, ping from my wifi station to google works:
# jan/09/2022 17:27:51 by RouterOS 7.1.1
# software id = TANH-DJAS
#
# model = RBD53iG-5HacD2HnD
# serial number = D96xxxxxxx
/ipv6 dhcp-server
add address-pool=rds-ipv6 interface=vlan-wifi-ap lease-time=1h name=server-wifi
/ipv6 address
add from-pool=rds-ipv6 interface=vlan-wifi-ap
/ipv6 dhcp-client
add add-default-route=yes interface=pppoe-rds pool-name=rds-ipv6 rapid-commit=no request=address,prefix
/ipv6 firewall filter
add action=accept chain=input comment="Accept related/established/untracked packets" connection-state=established,related,untracked
add action=drop chain=input comment="drop invalid packets" connection-state=invalid log=yes log-prefix="(D/invalid)"
add action=accept chain=input comment="allow DHCPv6 client" dst-port=546,547 protocol=udp
add action=accept chain=input
add action=accept chain=forward comment="accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="drop invalid" connection-state=invalid disabled=yes log=yes log-prefix="(D/fw_inval)" <---- THIS CAUSES TROUBLE AND IS DISABLED HERE
add action=accept chain=forward
/ipv6 nd
set [ find default=yes ] advertise-dns=no
add interface=vlan-lan
add interface=vlan-mgmt
add interface=vlan-wifi-ap
/ipv6 settings
set accept-redirects=no accept-router-advertisements=yes max-neighbor-entries=8192
The firewall was more complex, but i've trimmed most rules to reproduce the issue.
And with the rule enabled:
# jan/09/2022 17:26:29 by RouterOS 7.1.1
# software id = TANH-DJAS
#
# model = RBD53iG-5HacD2HnD
# serial number = D96C0C077B23
/ipv6 dhcp-server
add address-pool=rds-ipv6 interface=vlan-wifi-ap lease-time=1h name=server-wifi
/ipv6 address
add from-pool=rds-ipv6 interface=vlan-wifi-ap
/ipv6 dhcp-client
add add-default-route=yes interface=pppoe-rds pool-name=rds-ipv6 rapid-commit=no request=address,prefix
/ipv6 firewall filter
add action=accept chain=input comment="Accept related/established/untracked packets" connection-state=established,related,untracked
add action=drop chain=input comment="drop invalid packets" connection-state=invalid log=yes log-prefix="(D/invalid)"
add action=accept chain=input comment="allow DHCPv6 client" dst-port=546,547 protocol=udp
add action=accept chain=input
add action=accept chain=forward comment="accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="drop invalid" connection-state=invalid log=yes log-prefix="(D/fw_inval)"
add action=accept chain=forward
/ipv6 nd
set [ find default=yes ] advertise-dns=no
add interface=vlan-lan
add interface=vlan-mgmt
add interface=vlan-wifi-ap
/ipv6 settings
set accept-redirects=no accept-router-advertisements=yes max-neighbor-entries=8192
In this case, this happens:
(D/fw_inval) forward: in:pppoe-rds out:vlan-wifi-ap, src-mac 40:a6:b7:xx:xx:xx, proto ICMP (type 129, code 0), 2001:4860:4860::8844->2a02:2f00:3214:f600:xxxx:xxxx:xxxx:xxxx, len 40
Is this a bug or am I doing something wrong?