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. ipaddr: cannot match ipv6 address with non-ipv6 one (in Firewall config)

ipaddr: cannot match ipv6 address with non-ipv6 one (in Firewall config)

Scheduled Pinned Locked Moved Solved Support
networkingfirewall
14 Posts 3 Posters 2.3k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C ccfu

      @girish Yes in the dashboard. Here is a screenshot:

      cloudron_network_scr.jpg

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

      @ccfu Do you think you can send me what IPs you are trying to put in the UI to support@cloudron.io (or if you don't mind it being public, you can put it here) ? Looks like some validation error.

      C 1 Reply Last reply
      0
      • girishG girish

        @ccfu Do you think you can send me what IPs you are trying to put in the UI to support@cloudron.io (or if you don't mind it being public, you can put it here) ? Looks like some validation error.

        C Offline
        C Offline
        ccfu
        wrote on last edited by
        #6

        @girish As they are all either on blocklists or publically listed:

        5.188.206.246
        74.120.14.0/24
        162.142.125.0/24
        167.248.133.0/24
        192.35.168.0/23
        77.247.110.129
        45.144.225.181
        71.6.232.4

        girishG 1 Reply Last reply
        0
        • C ccfu

          @girish As they are all either on blocklists or publically listed:

          5.188.206.246
          74.120.14.0/24
          162.142.125.0/24
          167.248.133.0/24
          192.35.168.0/23
          77.247.110.129
          45.144.225.181
          71.6.232.4

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

          @ccfu It seems to work fine here

          4f186b9a-a108-41e0-ab1f-df991b042a16-image.png

          Can you try removing the IP addresses one by one and check which one is causing a problem?

          C 1 Reply Last reply
          0
          • girishG girish

            @ccfu It seems to work fine here

            4f186b9a-a108-41e0-ab1f-df991b042a16-image.png

            Can you try removing the IP addresses one by one and check which one is causing a problem?

            C Offline
            C Offline
            ccfu
            wrote on last edited by ccfu
            #8

            @girish Adding the individual IPs seems to work fine, but as soon as I try to add a range I get the error. This is odd though because these ranges and a few individual IPs were already in the list. The errors seem to have started occuring after the latest update to 6.2.7.

            nebulonN 1 Reply Last reply
            0
            • C ccfu

              @girish Adding the individual IPs seems to work fine, but as soon as I try to add a range I get the error. This is odd though because these ranges and a few individual IPs were already in the list. The errors seem to have started occuring after the latest update to 6.2.7.

              nebulonN Offline
              nebulonN Offline
              nebulon
              Staff
              wrote on last edited by
              #9

              @ccfu simply copy'n'pasting your list from above also works for me without issues on v6.2.7. Can you double check for special characters in that input field?

              Also does it fail with 2 lines already? Maybe something with the newline character?

              C 1 Reply Last reply
              0
              • nebulonN nebulon

                @ccfu simply copy'n'pasting your list from above also works for me without issues on v6.2.7. Can you double check for special characters in that input field?

                Also does it fail with 2 lines already? Maybe something with the newline character?

                C Offline
                C Offline
                ccfu
                wrote on last edited by ccfu
                #10

                @nebulon It fails with just one range being added and nothing else in the input field. I tried different browsers and checked for special characters. Without the ranges all is fine.

                I am not really sure what the error message is trying to tell me to be honest as these are all IPv4.

                nebulonN 1 Reply Last reply
                0
                • C ccfu

                  @nebulon It fails with just one range being added and nothing else in the input field. I tried different browsers and checked for special characters. Without the ranges all is fine.

                  I am not really sure what the error message is trying to tell me to be honest as these are all IPv4.

                  nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #11

                  @ccfu I think I found the issue here. It is actually an unhandled error coming from https://git.cloudron.io/cloudron/box/-/blob/master/src/network.js#L43

                  Looks like your source ip from your browser (or in the code in the auditSourcE) is set as ipv6 however the code expects ipv4.

                  C 1 Reply Last reply
                  1
                  • nebulonN nebulon

                    @ccfu I think I found the issue here. It is actually an unhandled error coming from https://git.cloudron.io/cloudron/box/-/blob/master/src/network.js#L43

                    Looks like your source ip from your browser (or in the code in the auditSourcE) is set as ipv6 however the code expects ipv4.

                    C Offline
                    C Offline
                    ccfu
                    wrote on last edited by
                    #12

                    @nebulon Thank you. Yes, that makes sense. Hope this can be resolved as having IPv6 as a source IP is not uncommon.

                    nebulonN 1 Reply Last reply
                    0
                    • C ccfu

                      @nebulon Thank you. Yes, that makes sense. Hope this can be resolved as having IPv6 as a source IP is not uncommon.

                      nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #13

                      @ccfu ok this is now fixed with https://git.cloudron.io/cloudron/box/-/commit/5ae5566ce835406a2acee8d7bf0db9c1e31f8ffb and thus part of the next release.

                      C 1 Reply Last reply
                      2
                      • nebulonN nebulon

                        @ccfu ok this is now fixed with https://git.cloudron.io/cloudron/box/-/commit/5ae5566ce835406a2acee8d7bf0db9c1e31f8ffb and thus part of the next release.

                        C Offline
                        C Offline
                        ccfu
                        wrote on last edited by
                        #14

                        @nebulon Fantastic, thank you!

                        1 Reply Last reply
                        0
                        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