Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. infomaniak IPv6 issues

infomaniak IPv6 issues

Scheduled Pinned Locked Moved Solved Support
infomaniakipv6
70 Posts 9 Posters 1.6k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic was forked from Email sending broken after updating to 8.2.x (due to IPv6 issues) girish
This topic has been deleted. Only users with topic management privileges can see it.
  • GengarG Gengar

    @BrutalBirdie Oh thanks for the link ! I will read what they do

    jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by
    #41

    @Gengar I have a spreadsheet with a bunch of Eco VPS providers here:

    https://ud.coop/ecovps

    I should add Informaniak!

    But yeah Hetzner is probably the best option overall imho, great value and great UX. I tried Netcup because they are even cheaper, but 1) you have to pay 6 months in advance (whereas with Hetzner you can just pay for an hour if you cancel), 2) their default Ubuntu is stripped down and so installing Cloudron doesn't work until you mess around installing full Ubuntu first 3) their UI/ UX is just no way near as good as Hetzner's, etc.

    I use Cloudron with Gandi & Hetzner

    GengarG avatar1024A 2 Replies Last reply
    1
    • jdaviescoatesJ jdaviescoates

      @Gengar I have a spreadsheet with a bunch of Eco VPS providers here:

      https://ud.coop/ecovps

      I should add Informaniak!

      But yeah Hetzner is probably the best option overall imho, great value and great UX. I tried Netcup because they are even cheaper, but 1) you have to pay 6 months in advance (whereas with Hetzner you can just pay for an hour if you cancel), 2) their default Ubuntu is stripped down and so installing Cloudron doesn't work until you mess around installing full Ubuntu first 3) their UI/ UX is just no way near as good as Hetzner's, etc.

      GengarG Offline
      GengarG Offline
      Gengar
      wrote on last edited by
      #42

      @jdaviescoates If it works with Infomaniak, it would be another cheap VPS and ecofriendly one yeah. They have their "VPS Light" that is cheap and atm, except the ptr6 value that switches to null after updates, that seems solid.

      With hetzner , can you setup yourself your PTR ? For Infomaniak we need to open a ticket to their support.

      jdaviescoatesJ 1 Reply Last reply
      0
      • jdaviescoatesJ jdaviescoates

        @Gengar I have a spreadsheet with a bunch of Eco VPS providers here:

        https://ud.coop/ecovps

        I should add Informaniak!

        But yeah Hetzner is probably the best option overall imho, great value and great UX. I tried Netcup because they are even cheaper, but 1) you have to pay 6 months in advance (whereas with Hetzner you can just pay for an hour if you cancel), 2) their default Ubuntu is stripped down and so installing Cloudron doesn't work until you mess around installing full Ubuntu first 3) their UI/ UX is just no way near as good as Hetzner's, etc.

        avatar1024A Offline
        avatar1024A Offline
        avatar1024
        wrote on last edited by avatar1024
        #43

        @jdaviescoates said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

        but 1) you have to pay 6 months in advance (whereas with Hetzner you can just pay for an hour if you cancel), 2) their default Ubuntu is stripped down and so installing Cloudron doesn't work until you mess around installing full Ubuntu first 3) their UI/ UX is just no way near as good as Hetzner's, etc.

        Just to say, I used to be with Hetzner and I am now with Netcup and regarding: 1) you do NOT have to pay 6 months in advance (it's just cheaper if you do); 2) I had no such issue with their ubuntu version. I've installed Cloudron from blank ubuntu from Netcup and I've been running several Cloudron instances with no problems. Totally agree with 3), Hetzner UI is SO much better...but then their prices are also significantly higher so I'd rather get better hardware and a lesser friendly UI.

        However on my servers, and despite following all the right steps, I kept having issue with IPv6. PTR records and DNS all check OK on Cloudron, MX checks etc, but I keep getting random email bounce from Gmail. The only final solution was to disable IPv6 completely. Perhaps Hetzner is better in that respect.

        jdaviescoatesJ 1 Reply Last reply
        2
        • GengarG Gengar

          @jdaviescoates If it works with Infomaniak, it would be another cheap VPS and ecofriendly one yeah. They have their "VPS Light" that is cheap and atm, except the ptr6 value that switches to null after updates, that seems solid.

          With hetzner , can you setup yourself your PTR ? For Infomaniak we need to open a ticket to their support.

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #44

          @Gengar said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

          With hetzner , can you setup yourself your PTR

          Yes, you can.

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          0
          • avatar1024A avatar1024

            @jdaviescoates said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

            but 1) you have to pay 6 months in advance (whereas with Hetzner you can just pay for an hour if you cancel), 2) their default Ubuntu is stripped down and so installing Cloudron doesn't work until you mess around installing full Ubuntu first 3) their UI/ UX is just no way near as good as Hetzner's, etc.

            Just to say, I used to be with Hetzner and I am now with Netcup and regarding: 1) you do NOT have to pay 6 months in advance (it's just cheaper if you do); 2) I had no such issue with their ubuntu version. I've installed Cloudron from blank ubuntu from Netcup and I've been running several Cloudron instances with no problems. Totally agree with 3), Hetzner UI is SO much better...but then their prices are also significantly higher so I'd rather get better hardware and a lesser friendly UI.

            However on my servers, and despite following all the right steps, I kept having issue with IPv6. PTR records and DNS all check OK on Cloudron, MX checks etc, but I keep getting random email bounce from Gmail. The only final solution was to disable IPv6 completely. Perhaps Hetzner is better in that respect.

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #45

            @avatar1024 said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

            1. you do NOT have to pay 6 months in advance (it's just cheaper if you do)

            I'm pretty sure I had to at the time, but perhaps it's just the default and I just missed something during the sign-up process. Or perhaps it was because I was a new customer 🤷 (I note that Hetzner makes new customers pre-pay €20 these days too)

            They refund you if you cancel before 6 months, but I still found it a bit annoying.

            @avatar1024 said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

            1. I had no such issue with their ubuntu version. I've installed Cloudron from blank ubuntu from Netcup and I've been running several Cloudron instances with no problems.

            I originally had no problem either. But then something changed and I did. But perhaps enough people complained and they changed it back again? Or perhaps you installed your before the change? 🤷

            I've so far not experienced any IPv6 weirdness nor email issues since I enabled the PTR6 on Hetzner.

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            1
            • GengarG Gengar

              @girish Okay so here it doesn't work the same. For example I've rebooted my server this morning (like 2 hours ago) beceause my PTR6 was null.

              And I've tried again and yeah, I have a communication error during the 1st try that you don't have. But each time it resolve it even with the communication error and the 2nd time it always works. And I have this exact behavior each time.

              9ef21f71-8c5e-412e-b08c-70567c13b7ac-image.png

              That's weird.

              My firewall is setup like this :
              13a01790-02ca-4abd-a067-395cdc10e47f-image.png

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #46

              @Gengar infomaniak set it up today .

              02872482-f006-4306-95f4-79924fe9d29e-image.png

              My firewall is more permissive than yours. Note that ICMPv6 is probably not included in your firewall. I cannot completely understand infomaniak settings to suggest one way or another. Unlike IPv4, IPv6 requires ICMPv6 and won't work without it.

              20c0c7d1-6a5b-4744-8df2-db530e905ea4-image.png

              1 Reply Last reply
              2
              • girishG girish referenced this topic on
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #47

                @Gengar ha, I caught it red handed!

                ubuntu@ov-9503b4:~$ curl -6 https://ipv6.api.cloudron.io/api/v1/helper/public_ip
                curl: (28) Failed to connect to ipv6.api.cloudron.io port 443 after 135991 ms: Couldn't connect to server
                

                In fact, IPv6 just stopped working overnight just like that.

                GengarG 1 Reply Last reply
                5
                • J joseph marked this topic as a question on
                • girishG girish

                  @Gengar ha, I caught it red handed!

                  ubuntu@ov-9503b4:~$ curl -6 https://ipv6.api.cloudron.io/api/v1/helper/public_ip
                  curl: (28) Failed to connect to ipv6.api.cloudron.io port 443 after 135991 ms: Couldn't connect to server
                  

                  In fact, IPv6 just stopped working overnight just like that.

                  GengarG Offline
                  GengarG Offline
                  Gengar
                  wrote on last edited by Gengar
                  #48

                  @girish Ah ! Does it mean the issue is coming from Infomaniak , like from their internal network config ? Or could it be linked to something in Ubuntu that is installed by Infomaniak when we choose Ubuntu 24.04 (like if their ubuntu wasn’t 100% stock image but a bit edited) .

                  scookeS 1 Reply Last reply
                  0
                  • GengarG Gengar

                    @girish Ah ! Does it mean the issue is coming from Infomaniak , like from their internal network config ? Or could it be linked to something in Ubuntu that is installed by Infomaniak when we choose Ubuntu 24.04 (like if their ubuntu wasn’t 100% stock image but a bit edited) .

                    scookeS Offline
                    scookeS Offline
                    scooke
                    wrote on last edited by
                    #49

                    @Gengar Yes.

                    A life lived in fear is a life half-lived

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #50

                      @Gengar yeah, I think so. A reboot fixed the routing .

                      GengarG 1 Reply Last reply
                      0
                      • girishG girish

                        @Gengar yeah, I think so. A reboot fixed the routing .

                        GengarG Offline
                        GengarG Offline
                        Gengar
                        wrote on last edited by Gengar
                        #51

                        @girish yeah for me too, either a reboot or :

                        sudo ip -6 neigh flush all
                        sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
                        sleep 2
                        sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
                        sleep 2
                        sudo netplan apply
                        sudo systemctl restart docker
                        

                        it works too, but it's just a workaround.

                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #52

                          @Gengar haven't checked but setting dhcp6 to false in /etc/netplan/ could help not getting an ipv6 altogether.

                          1 Reply Last reply
                          0
                          • girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #53

                            @Gengar Well. Unfortunately, for me , the server goes unreachable periodically. As in IPv4. Do you hit the same? The whole thing is unstable connectivity wise.

                            GengarG 1 Reply Last reply
                            0
                            • girishG girish

                              @Gengar Well. Unfortunately, for me , the server goes unreachable periodically. As in IPv4. Do you hit the same? The whole thing is unstable connectivity wise.

                              GengarG Offline
                              GengarG Offline
                              Gengar
                              wrote on last edited by
                              #54

                              @girish Mhhh okay, no on my side ipv4 works fine, it's only the ipv6 part that is unstable with the reverse resolution (PTR6) .

                              1 Reply Last reply
                              1
                              • J joseph has marked this topic as solved on
                              • GengarG Offline
                                GengarG Offline
                                Gengar
                                wrote on last edited by Gengar
                                #55

                                @girish & @joseph , I've reached out to Infomaniak on tuesday and they told me the following today :

                                Bonjour,
                                Après demande, nos experts Cloud sont au courant du problème rencontré. Pour le moment, nous n’avons pas encore de solution définitive.
                                En attendant, une solution temporaire serait de configurer un renouvellement du DHCPv6 via un cron toutes les 12 heures. Cela devrait permettre d’éviter ce type de désagrément jusqu’à ce qu’une correction soit mise en place.
                                Soyez assuré que ce point est bien pris en compte dans notre liste des tâches à traiter. Il sera priorisé dès que possible.
                                Merci pour votre patience et votre compréhension.
                                Merci pour votre confiance. Nous restons à votre disposition.

                                I will try to do what they suggest and we will see if it's a working workaround or not...

                                BrutalBirdieB 1 Reply Last reply
                                0
                                • GengarG Gengar

                                  @girish & @joseph , I've reached out to Infomaniak on tuesday and they told me the following today :

                                  Bonjour,
                                  Après demande, nos experts Cloud sont au courant du problème rencontré. Pour le moment, nous n’avons pas encore de solution définitive.
                                  En attendant, une solution temporaire serait de configurer un renouvellement du DHCPv6 via un cron toutes les 12 heures. Cela devrait permettre d’éviter ce type de désagrément jusqu’à ce qu’une correction soit mise en place.
                                  Soyez assuré que ce point est bien pris en compte dans notre liste des tâches à traiter. Il sera priorisé dès que possible.
                                  Merci pour votre patience et votre compréhension.
                                  Merci pour votre confiance. Nous restons à votre disposition.

                                  I will try to do what they suggest and we will see if it's a working workaround or not...

                                  BrutalBirdieB Offline
                                  BrutalBirdieB Offline
                                  BrutalBirdie
                                  Partner
                                  wrote on last edited by
                                  #56

                                  @Gengar said in infomaniak IPv6 issues:

                                  Bonjour,
                                  Après demande, nos experts Cloud sont au courant du problème rencontré. Pour le moment, nous n’avons pas encore de solution définitive.
                                  En attendant, une solution temporaire serait de configurer un renouvellement du DHCPv6 via un cron toutes les 12 heures. Cela devrait permettre d’éviter ce type de désagrément jusqu’à ce qu’une correction soit mise en place.
                                  Soyez assuré que ce point est bien pris en compte dans notre liste des tâches à traiter. Il sera priorisé dès que possible.
                                  Merci pour votre patience et votre compréhension.
                                  Merci pour votre confiance. Nous restons à votre disposition.

                                  Translation:

                                  Hello,
                                  Our Cloud experts are aware of the problem you are experiencing. For the moment, we don't have a definitive solution yet.
                                  In the meantime, a temporary solution would be to configure a DHCPv6 renewal via a cron every 12 hours. This should avoid this type of inconvenience until a fix is in place.
                                  Rest assured that this point is well taken into account in our to-do list. It will be prioritized as soon as possible.
                                  Thank you for your patience and understanding.
                                  We are grateful for your confidence. We look forward to hearing from you.

                                  Like my work? Consider donating a drink. Cheers!

                                  1 Reply Last reply
                                  2
                                  • scookeS Offline
                                    scookeS Offline
                                    scooke
                                    wrote on last edited by
                                    #57

                                    Merci à OiseauBrutal pour le translation!

                                    A life lived in fear is a life half-lived

                                    1 Reply Last reply
                                    4
                                    • GengarG Offline
                                      GengarG Offline
                                      Gengar
                                      wrote on last edited by Gengar
                                      #58

                                      Hey everyone & @joseph & @girish ,

                                      I wanted to share an update regarding the IPv6 lease renewal issue I'm experiencing on my VPS hosted at Infomaniak, in case others are hitting similar problems.

                                      After reaching out to Infomaniak support a few days/weeks ago, they acknowledged the issue and suggested a temporary workaround: running a cron job every 12 hours to trigger a DHCPv6 renewal. While I appreciated the suggestion, I’ve run a series of tests and unfortunately none of the commonly available methods for forcing a lease renewal actually work reliably on my system.

                                      The instance runs Ubuntu 24.04 Server, which uses systemd-networkd via Netplan. Here's a quick summary of what I tried:

                                      • networkctl renew <interface>: No effect, no logs, no renewal.
                                      • systemctl restart systemd-networkd: Breaks IPv6 completely (no address is reacquired).
                                      • systemctl reload systemd-networkd: No effect.
                                      • Full IPv6 stack reset (disable/enable IPv6 + netplan apply + Docker restart): Works, but too disruptive.
                                      • Reboot: The only consistently working method, but not viable on a 24/7 system.

                                      Interestingly, I found this systemd bug on their GitHub Issues which describes very similar symptoms—systemd-networkd seems to not renew IPv6 lease even with networkctl renew <interface> .

                                      After a long tcpdump session (about 17:30 CEST to 09:20 the next day) on my VPS, I confirmed the following:

                                      • My server sends DHCPv6 RENEW messages.
                                      • Infomaniak’s OpenStack-based infrastructure replies correctly with a REPLY containing a new lease (24h, with valid preferred/valid lifetimes).
                                      • Despite that, my client doesn’t apply the lease, continues renewing until T2 expires, then sends multiple REBIND messages.
                                      • Eventually, the client sends a DHCPv6 RELEASE.

                                      So far, Infomaniak’s support has been excellent. They confirmed via a tcpdump on their OpenStack DHCPv6 server that the REPLY messages are correctly formed and sent in response to my RENEW requests. From their logs, my client also appears to receive these replies — but doesn't act on them properly. I was able to confirm the same behavior with a tcpdump I ran locally on my VPS: RENEW is sent, REPLY is received, yet the lease is not renewed, leading to a fallback to REBIND and eventually a RELEASE.

                                      Based on what other forum members mentioned, this behavior does not seem to occur on providers like Hetzner. That might be because Hetzner's DHCPv6 implementation handles edge cases like REBIND with lifetime=0 more gracefully even when lifetimes are set to zero — whereas Infomaniak’s current setup might not interpret these ambiguous packets well (even though they are technically valid per RFC 8415).

                                      According to RFC 8415 §21.6, clients should set preferred-lifetime and valid-lifetime to 0 in RENEW and REBIND messages. Servers must ignore these values. This means my client is doing things correctly, but perhaps the server isn’t ignoring the values as it should.


                                      📣 Request to the community:
                                      If anyone is using a VPS at Hetzner with Ubuntu 24.04, could you please run a short tcpdump capture and open it in Wireshark?
                                      Apply the filter dhcpv6 and check if your IPv6 lease is successfully renewed after a RENEW / REPLY exchange — or if it only happens after REBIND.

                                      That would help understand why it works with Hetzner and doesn't work with Infomaniak.

                                      I suspect there is a general issue with systemd that doesn't takes into account the REPLY. And if it's the case it would means it works on Hetzner only because the REBIND packet is answered differently by their DHCPv6 than how Infomaniak handles it.

                                      Thanks in advance!

                                      Cheers,
                                      Gengar

                                      1 Reply Last reply
                                      5
                                      • J Offline
                                        J Offline
                                        joseph
                                        Staff
                                        wrote on last edited by
                                        #59

                                        @Gengar great write up! Thanks for the follow up . I don't know much about DHCPv6 internals but excellent material for me read up.

                                        1 Reply Last reply
                                        3
                                        • GengarG Offline
                                          GengarG Offline
                                          Gengar
                                          wrote on last edited by Gengar
                                          #60

                                          Hey again everyone & @joseph & @girish,

                                          Following up on my previous post regarding the IPv6 lease renewal issue on Infomaniak’s VPS — I’ve done some deeper testing by ordering a VPS on Hetzner to compare how things were set up between Hetzner and Infomaniak.

                                          My idea was to launch a tcpdump on a Hetzner VPS (running Ubuntu 24.04 with systemd 255, just like Infomaniak) to observe DHCPv6 behavior — but first, I needed to know how long their IPv6 lease lasts in order to avoid capturing traffic for too many hours unnecessarily.

                                          So I started out by doing a:

                                          ip -6 address show dev <interface>
                                          

                                          on the freshly provisioned Hetzner VPS.

                                          And what a surprise! No lease at all. See below:

                                          2: <interface>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
                                              inet6 my_public_ipv6 scope global 
                                                 valid_lft forever preferred_lft forever
                                              inet6 my_ipv6_unicast_link_local_address scope link 
                                                 valid_lft forever preferred_lft forever
                                          

                                          Both valid_lft and preferred_lft are set to forever.

                                          To confirm how the interface was configured, I also checked Netplan:

                                          sudo cat /etc/netplan/*.yaml
                                          

                                          And here is the configuration:

                                          network:
                                            version: 2
                                            ethernets:
                                              <interface>:
                                                match:
                                                  macaddress: "my_mac"
                                                addresses:
                                                  - "my_public_ipv6"
                                                nameservers:
                                                  addresses:
                                                    - 2a01:4ff:ff00::add:2
                                                    - 2a01:4ff:ff00::add:1
                                                dhcp4: true
                                                set-name: "<interface>"
                                                routes:
                                                  - to: "default"
                                                    via: "fe80::1"
                                                    on-link: true
                                          

                                          This confirms that IPv6 is statically configured on Hetzner. There's no dhcp6: true, and the IPv6 address is explicitly assigned. Therefore, no lease exists, and no renewal occurs. There’s no interaction with any DHCPv6 server — no RENEW, REBIND, or RELEASE. This directly explains why the issue observed at Infomaniak never manifests on Hetzner: the client never enters the renewal cycle in the first place.

                                          In contrast, here’s what we get on Infomaniak:

                                          ip -6 address show dev <interface>
                                          

                                          Output:

                                          2: <interface>: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
                                              altname <interface_alt>
                                              inet6 my_public_ipv6 scope global dynamic noprefixroute 
                                                 valid_lft 65046sec preferred_lft 65046sec
                                              inet6 my_ipv6_unicast_link_local_address scope link 
                                                 valid_lft forever preferred_lft forever
                                          

                                          This time, we clearly see the dynamic flag and a limited lease time (~18 hours remaining when the command was run), indicating a DHCPv6 assignment.

                                          To double-check, I also reviewed the Netplan config on Infomaniak:

                                          sudo cat /etc/netplan/*.yaml
                                          
                                          network:
                                            version: 2
                                            ethernets:
                                              <interface>:
                                                match:
                                                  macaddress: "my_mac"
                                                dhcp4: true
                                                dhcp6: true
                                                accept-ra: true
                                                set-name: "<interface>"
                                                mtu: 1500
                                          

                                          This confirms that both dhcp6: true is enabled — meaning the system explicitly requests an IPv6 lease from the DHCPv6 server.

                                          This explains why the issue is completely absent at Hetzner — their static configuration avoids the renewal mechanism entirely, so the "potentially" buggy part of systemd-networkd (which fails to apply the received REPLY from a DHCPv6 RENEW) is never triggered. On Infomaniak, where renewal is mandatory, the problem becomes immediately visible as soon as the system enters the lease refresh cycle.

                                          I’m now wrapping up my investigation and will send my findings to Infomaniak.

                                          Have a good one,
                                          Gengar

                                          jdaviescoatesJ 1 Reply Last reply
                                          7
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search