Ports not reachable from the outside in IPv6

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.39
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: nop

Describe your issue

No matter what i do in the webadmin or in my router admin panel, all the ports yunohost uses are closed in IPv6.

The documentation on the matter is very scarce and other topics on the forum mention this issue but it seems to magically take care of itself so nothing to learn…

I understand that IPv6 is complicated, but seeing all those red lines in my YNH diagnosis makes me sad…

Share relevant logs or error messages

None

If you have a working ipv4, then you can ignore these warnings.

I personally disabled ipv6 because it’s a headache to get mails running with it.

ok, IPv4 works without issue so i’ll follow your advice.

Bummer, i wanted green flags everywhere…

Maybe far fetched, but I was running into a similar issue of “ports not reachable from the outside in IPv6”:

  • I could set the correct Interface ID in my router, then it worked until the next reboot
  • You can find your IPv6 by e.g. using the command curl -6 ip.sb
  • With the next reboot, the IPv6 assigned was changing and I ended up with the same problem

My guess, and what I have changed to make it work now:

  • With the new version of yunohost the IPv6 used for the server is not created based on the MAC address of your server, but it seems randomly generated.
  • To change this back you need to make the server create the IPv6 address based on the MAC address. This is possible with nmcli con modify "Connection name" ipv6.addr-gen-mode eui64
  • Your connection name you can find out with nmcli --fields NAME,DEVICE con show
  • More background e.g. * here (I am using a Fritzbox)

Please use with care, but that sounded logical to me and my problem is solved now with entering the correct interface IS once into the router