This is what dynamic dns is for. Your isp should have you covered there, and if not there are other free ones.
Re:IPv4 vs. IPv6 FAQ
by magicalhippo on Friday August 27, 2021 @06:22PM
(#28333601)
How does dynamic DNS help change his firewall rules?
How is that the fault of IPv6 over eg. your internet provider?
Re:IPv4 vs. IPv6 FAQ
by benttoothpaste on Friday August 27, 2021 @02:10PM
(#28331142)
I did not blame anyone, just shared why it is not great for me.
I then set up the firewall to expose one of these addresses and I could ssh to my machine from the outside world. A win!
Unfortunately the win was short lived. Eventually I lost the ability to ssh in. It turned out that the 10 IPv6 addresses were replaced by a different bunch of 10 addresses. So I would have to reconfigure the firewall again. I decided it was too much work for me and disabled IPv6. Maybe some other time.