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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Cloudron 7.1.2 Firewall not IPv6 ready?

    Support
    ipv6 firewall
    3
    8
    287
    Loading More Posts
    • 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.
    • imc67
      imc67 translator last edited by

      I tried to add IPv6 ACL to the Firewall but received this error message:

      <html> <head><title>413 Request Entity Too Large</title></head> <body> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx</center> </body> </html>
      
      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @imc67 last edited by

        @imc67 It should be. Do you see this even if you add say one IPv6 address? How big is your IPv6 list?

        (I am testing in the meantime).

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          There is a 1MB limit of all REST query sizes. You are probably hitting that?

          1 Reply Last reply Reply Quote 0
          • girish
            girish Staff last edited by

            OK, I can reproduce this but I had to add a massive amount of addresses to hit the 1MB limit (like almost 30k ranges).

            09f7c668-a55a-437d-8ffe-a83f7561acdb-image.png

            @imc67 Can you tell me the size of your block list? You can save it to a file and check the rough size.

            imc67 1 Reply Last reply Reply Quote 0
            • imc67
              imc67 translator @girish last edited by

              @girish thanks for your quick response.

              The current list with IPv4 was exactly 1MB, I wanted to add some IPv6 altogether 1.1MB and got the error.

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @imc67 last edited by

                @imc67 Ah ok, I will bump it to 2MB then.

                imc67 1 Reply Last reply Reply Quote 3
                • imc67
                  imc67 translator @girish last edited by

                  @girish is it something I can do right now?

                  nebulon 1 Reply Last reply Reply Quote 0
                  • nebulon
                    nebulon Staff @imc67 last edited by

                    @imc67 essentially the patch for this is https://git.cloudron.io/cloudron/box/-/commit/eb0662b2455e0687ab3ce5dd02d2466e16670092 so two files need to be adjusted. The .ejs file is a template which will result in /etc/nginx/applications/my.<domain.com>.conf so besides the editing the .ejs file additionally edit that file and then systemctl restart nginx and systemctl restart box.

                    1 Reply Last reply Reply Quote 1
                    • First post
                      Last post
                    Powered by NodeBB