@toroidalcore My modem was damaged by lightning and my ISP replaced it. With the new modem, I got IPv6 connectivity. However I couldn't make connections from outside, adding IPv4 port forwards or IPv6 firewall exceptions to the modem config didn't do anything.
A week later, IPv6 connectivity disappeared. And now IPv4 port forwarding works.