Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Limiters break ACME LetsEncrypt renewal/account key registration

    Scheduled Pinned Locked Moved Traffic Shaping
    16 Posts 4 Posters 2.2k Views
    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.
    • GertjanG
      Gertjan @bartkowski
      last edited by

      @bartkowski

      These rules :

      3a882546-7385-414b-9889-f8bc04ff366d-image.png

      right ?

      Btw : as I have two WAN type interfaces,
      one called WAN_DHCP which is a IPv4 only connection to my upstream ISP router
      the other called HE_TUN_TUNNELV6, this is my IPv6 interface.
      So, instead of 3 rules I have 6, one for each "WAN" set.

      The ICMP ('ping') are pas rules. All the others, the last are (must be !) 'match' rules.

      The "Source" is always "any".

      When the :

      d1573b1b-7bae-4135-9afc-270796f83726-image.png

      then the Gateway is set to Default.

      This changes when the direction is set to "out" !! The gateway has to be set to the correct WAN type interface.

      That's why you see "WAN_DHCP" and "HE_TUN_TUNNELV6" in my image / gateway column.

      As already said, these 6 rules are present on my pfSense for many years.
      As is acme.sh : I have my certs renewed every 30 days.
      I didn't change any (floating) rules for ...... a very long time.
      It was working fine using 2.4.5 and before - and 2.50 and 2.5.2 CE today.

      Btw : there was an issue / pitfall shown lately on the forum.
      It's easy to trigger :
      Install pfBlockerNG-devel first. This, by itself, is completely harmless.
      Activate a feed that blocks IP and/or domain names used by what is used to renew "letsencrypt" certificates - or who ever acme.sh is using to renew certs (this is new to me - dono of the pfSense acme.sh also contains this new choice of CA).
      Apparently, the issue was that people activate IP and DNSBL feeds without checking them.
      Or, at least, during the first several days : checking if the new feeds 'triggers' - and who, like what device, triggers it, etc.
      Feeds are free, and this doesn't mean they are perfect - or not just plain broken.
      " an admin always has to double check - even the things he doesn't know about - the latter should be triple checked. "

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      B 1 Reply Last reply Reply Quote 0
      • B
        bartkowski @Gertjan
        last edited by

        @gertjan Yes, those rules.

        I thought that changing the Protocol from ANY to TCP/UDP for the 'out' rule is going to do the trick, but no, it still fails.

        Doesn't your setup contradict the document jimp linked, namely the "match" vs "pass" in floating rule for WAN out?

        GertjanG 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @bartkowski
          last edited by Gertjan

          @bartkowski said in Limiters break ACME LetsEncrypt renewal/account key registration:

          Doesn't your setup contradict ....

          Yep.
          I actually just discovered this new ? pfSEnse documentation page : https://docs.netgate.com/pfsense/en/latest/recipes/codel-limiters.html
          Great ! Finally some good info from a source that doesn't need the 'fact check mode' to be set at 100 %. Thanks, jimp.

          I was pretty sure - reading the thread where I saw (to) many step by step how-toos - that it should be "match" and not "pass". Not that I understand the real difference between the two of them. I "thought" that "match" was the one to use as it is used to force traffic though a given gateway - using the supplied limiters, the up and own codel queues. This is my 'in brain' explanation ;)
          I changed my 2 (2 + 2 actually) to "pass" instead of "match" and did a test on my favorite http://www.dslreports.com/speedtest test. The result was the same or slightly better.

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @Gertjan
            last edited by

            @gertjan A match rule will match and queue traffic without blocking or passing it, meaning a pass rule would allow traffic. Ergo, just be careful a pass rule isn't allowing traffic you don't want to allow.

            Match is also "last match wins" by default as noted on that page, in the Quick section.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

            1 Reply Last reply Reply Quote 0
            • B
              bartkowski
              last edited by

              I switched the In / Out pipe queue order around in my WAN>out rule, and I was able to get ACME to register account key, but of course the result of Download was now matching my upload speed (I have 300/10 from Comcast) set by the WANOut_Q limiter queue (10500 Kbit/s).

              B 1 Reply Last reply Reply Quote 0
              • B
                bartkowski @bartkowski
                last edited by

                Side note: I managed to crash my pfSense while changing some parameters on the Limiter, while also switching back to Kbit/s from Mbit/s.

                1 Reply Last reply Reply Quote 0
                • B
                  bartkowski
                  last edited by

                  In preparation for 22.01 update, I discovered that my Auto Config Backups were not being created. To my surprise, disabling my shaper rule allowed the backup to complete. What could this be?!

                  GertjanG 1 Reply Last reply Reply Quote 0
                  • GertjanG
                    Gertjan @bartkowski
                    last edited by Gertjan

                    @bartkowski said in Limiters break ACME LetsEncrypt renewal/account key registration:

                    What could this be?!

                    That's what I was asking myself the entire afternoon.
                    Updated @home (virtual machine) to pfSense CE 2.6.0 : RAS.
                    @work : unbound ..... to use simple words : refuses to resolve ....
                    Switching to a pfSense minmal default config : all was fine. So, nice, its something in my setup.
                    [ ..... 2 hours later .... ]

                    It looks like my limiters and/or floating firewall rules that uses these limiters are the issue.

                    I ditched them (floating rules first, then my limiters). pfSense was now fine.

                    I re reconstructed the limiters as per https://docs.netgate.com/pfsense/en/latest/recipes/codel-limiters.html

                    Added a firewall (just one ?) as per instruction son the same page.
                    I wasn't looking at the console but pfSense was rebooting - that's the first time for me in years.
                    I investigating.

                    No "help me" PM's please. Use the forum, the community will thank you.
                    Edit : and where are the logs ??

                    B 2 Replies Last reply Reply Quote 0
                    • B
                      bartkowski @Gertjan
                      last edited by

                      @gertjan said in Limiters break ACME LetsEncrypt renewal/account key registration:

                      I wasn't looking at the console but pfSense was rebooting

                      Did you crash? That's what happened to me if you read an earlier post, just unexpectedly.

                      1 Reply Last reply Reply Quote 0
                      • B
                        bartkowski @Gertjan
                        last edited by

                        Hey @gertjan, have you figured out anything?
                        I'm still scratching my head - I have two services that fail to work: ACME and Auto Backup.

                        GertjanG 1 Reply Last reply Reply Quote 0
                        • GertjanG
                          Gertjan @bartkowski
                          last edited by

                          @bartkowski
                          Noop.
                          Not using limiters right now.
                          "They" know the issue exists, something good will come out ... soon ...

                          No "help me" PM's please. Use the forum, the community will thank you.
                          Edit : and where are the logs ??

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.