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

    So many config changes from WireGuard (and even more from pfBlocker if DNSBL is disabled)

    Scheduled Pinned Locked Moved General pfSense Questions
    47 Posts 6 Posters 5.7k 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.
    • bmeeksB
      bmeeks @johnpoz
      last edited by

      @johnpoz said in So many config changes from WireGuard:

      I would love to know how to stop it.

      Currently the only way would be to manually edit the PHP code of the pfBlockerNG GUI and add the additional arguments to calls to the write_config() function that I copied in my earlier post. That would require knowledge of the code paths in the package or some study to figure them out.

      1 Reply Last reply Reply Quote 1
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Do you actually have DNS-BL enabled?

        Maybe: https://redmine.pfsense.org/issues/14409

        I do have DNS-BL enabled and don't see config backups for it.

        johnpozJ 1 Reply Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @stephenw10
          last edited by johnpoz

          @stephenw10 no I do not actually have dns-bl enabled. I just use pfblocker to create native aliases that I use in my firewall rules.

          dnsbl.jpg

          here is what I am using pfblocker for

          pfblocker.jpg

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          Bob.DigB 1 Reply Last reply Reply Quote 0
          • Bob.DigB
            Bob.Dig LAYER 8 @johnpoz
            last edited by

            @johnpoz I use both.

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @Bob.Dig
              last edited by

              @Bob-Dig I wonder if I just enabled dns-bl, without actually using it would get rid of the config entries?

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 24.11 | Lab VMs 2.8, 24.11

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • Bob.DigB
                Bob.Dig LAYER 8 @johnpoz
                last edited by

                @johnpoz said in So many config changes from WireGuard:

                @Bob-Dig I wonder if I just enabled dns-bl, without actually using it would get rid of the config entries?

                Sounds like a plan.

                johnpozJ 1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator @Bob.Dig
                  last edited by

                  @Bob-Dig yup have it enabled now, just not doing anything.. So check back tmrw to see if those config entries are in there..

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  Bob.DigB 1 Reply Last reply Reply Quote 1
                  • Bob.DigB
                    Bob.Dig LAYER 8 @johnpoz
                    last edited by

                    @johnpoz Do you have anything in DNSBL Groups enabled or the other tabs?
                    Still wouldn't make any sense.

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator @Bob.Dig
                      last edited by

                      @Bob-Dig nope have never setup dns-bl, have no use for it. Have never had it enabled ever..

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      Bob.DigB 1 Reply Last reply Reply Quote 0
                      • Bob.DigB
                        Bob.Dig LAYER 8 @johnpoz
                        last edited by

                        @johnpoz I think one ad list is included by installation there, maybe removing it does something; or not. 😉

                        johnpozJ 1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @Bob.Dig
                          last edited by johnpoz

                          @Bob-Dig I looked I have nothing selected.. Ah, this is set by default for top 1M whitelist

                          Default: COM, NET, ORG, CA, CO, IO

                          But can not unselect them.. if you do and then hit save, and then go back into it.. They are selected again, but this is not even enabled.

                          I have no groups listed

                          nogroups.jpg

                          No categories selected, nothing in safesearch, its not enabled.. I don't use dns-bl, my clients use pihole on my network for this sort of thing.. The only thing I use pfblocker for is creating aliases I use in my own firewall rules.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

                          Bob.DigB 1 Reply Last reply Reply Quote 1
                          • Bob.DigB
                            Bob.Dig LAYER 8 @johnpoz
                            last edited by

                            @johnpoz I am quite happy with pfBlocker doing DNSBL, what am I missing? Seriously.

                            johnpozJ 1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @Bob.Dig
                              last edited by johnpoz

                              @Bob-Dig I have nothing against it, it prob works great.. But have been using pihole for like forever.. It works for me, its eyecandy is nicer and I know it inside and out.. I have no good reason to change..

                              But I do love the flexibility of creating aliases with pfblocker, and make use of them quite a bit.. But the blocking with dnsbl I don't have a current use for..

                              If I want filtered dns, I query my pihole, which in turn forwards to unbound on pfsense. If I want unfiltered I can just query unbound on pfsense directly.. I see no point in filtering in 2 different locations. Maybe I could move to just using pfblocker dnsbl - but then I would miss the eyecandy pihole provides. And would be more difficult to just query a filtered or unfiltered dns that I run locally, etc.

                              The alias rules I create in pfblocker, are only for inbound into my wan.. etc..

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              M 1 Reply Last reply Reply Quote 1
                              • M
                                mcury Rebel Alliance @johnpoz
                                last edited by

                                weird, I have the same problem with pfblockerNG.

                                7fc46ad0-79e8-4b2f-8523-cf1578269b0c-image.png

                                DNSBL is disabled, using it in the same way as @johnpoz , just the IP part to create aliases.

                                dead on arrival, nowhere to be found.

                                johnpozJ 1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator @mcury
                                  last edited by johnpoz

                                  @mcury yeah its a bit of annoyance... Lets see if enabling it and just not having anything configured makes it go away.. But to be honest I don't think that is going to work.. But happy to test it.. Will know tmrw.. since the cron kicks off every 12 hours.

                                  Maybe we are the only 2 using pfblocker in this way? ;)

                                  Yours is doing it every hour, which pretty much makes the ability to restore configs completely useless, since by time you might notice and need to restore a config you did yesterday it would be gone.. The default is like 30, so if every hour a new one is added, 30 hours later your actual config you changed would be gone.

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    mcury Rebel Alliance @johnpoz
                                    last edited by mcury

                                    @johnpoz said in So many config changes from WireGuard:

                                    @mcury yeah its a bit of annoyance... Lets see if enabling it and just not having anything configured makes it go away.. But to be honest I don't think that is going to work.. But happy to test it.. Will know tmrw.. since the cron kicks off every 12 hours.

                                    If there is something that I can do to help, just tell me.
                                    I can set it up here to speed up the tests

                                    @johnpoz said in So many config changes from WireGuard:

                                    Maybe we are the only 2 using pfblocker in this way? ;)

                                    probably :) I'm using uBlock Origin, for me it is working perfectly fine.

                                    dead on arrival, nowhere to be found.

                                    johnpozJ Bob.DigB 2 Replies Last reply Reply Quote 0
                                    • johnpozJ
                                      johnpoz LAYER 8 Global Moderator @mcury
                                      last edited by

                                      @mcury all I did was enable it, but leave everything disabled or not configured.. You could try that since yours is doing it every hour, then in a couple hours we should be able to tell if that fixes the problem. If it does it would be really odd.

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        mcury Rebel Alliance @johnpoz
                                        last edited by

                                        @johnpoz said in So many config changes from WireGuard:

                                        @mcury all I did was enable it, but leave everything disabled or not configured.. You could try that since yours is doing it every hour, then in a couple hours we should be able to tell if that fixes the problem. If it does it would be really odd.

                                        Enabled DNSBL and ran an update, it is up and running.
                                        I'll be monitoring it and will report soon.

                                        DNSBL groups as per below:

                                        a058b641-c4e8-4b61-95f1-038f1cbcb279-image.png

                                        dead on arrival, nowhere to be found.

                                        johnpozJ 1 Reply Last reply Reply Quote 1
                                        • Bob.DigB
                                          Bob.Dig LAYER 8 @mcury
                                          last edited by Bob.Dig

                                          @mcury said in So many config changes from WireGuard:

                                          If there is something that I can do to help, just tell me.

                                          Install WireGuard. 😬

                                          Btw Devel has bugs, nondevil is more up to date nowadays.

                                          M 1 Reply Last reply Reply Quote 1
                                          • johnpozJ
                                            johnpoz LAYER 8 Global Moderator @mcury
                                            last edited by

                                            @mcury yeah I kind of hijacked this thread from @Bob-Dig - he started it about wireguard doing pretty much the same thing..

                                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                                            If you get confused: Listen to the Music Play
                                            Please don't Chat/PM me for help, unless mod related
                                            SG-4860 24.11 | Lab VMs 2.8, 24.11

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