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

    Captive Portal breaks policy routing for bypassed MAC addresses after upgrade to 22.05 [fixed]

    Scheduled Pinned Locked Moved Captive Portal
    41 Posts 11 Posters 7.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.
    • O
      OpIT GmbH
      last edited by

      Any idea what can cause my problem or how to debug it?

      GertjanG 1 Reply Last reply Reply Quote 0
      • B
        bobcat05 @bitrot
        last edited by

        @bitrot How did you apply the patch? Did you go into System >> Patches >> Add New Patch... then upload the .patch file from Bug #13323

        bitrotB 1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan @OpIT GmbH
          last edited by

          @opit-gmbh

          If you use the captive portal, you should bookmark this page.
          Troubleshooting Captive Portal.

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

          O 1 Reply Last reply Reply Quote 0
          • bitrotB
            bitrot @bobcat05
            last edited by

            @bobcat05 Yeah, System >> Patches >> Add new patch and then use the URL/Commit ID for the patch to upload it. (https://github.com/pfsense/pfsense/commit/add6447b9dc801144141bb24f8c264e03a0e7cae)

            This fixes the Captive Portal policy routing issue. I don't think this fixes the dummynet message. I haven't tested for that. There's a separate bug report for that. https://redmine.pfsense.org/issues/13290#change-61935

            1 Reply Last reply Reply Quote 0
            • O
              OpIT GmbH @Gertjan
              last edited by

              @gertjan yeah i know this site. but all worked perfectly before i upgraded to 22.0.5. We have multiple Netgate's running with mostly the same config. The Problem with the not upcoming Captive Portal is just on some of them, not on all! So i don't know what can cause this problem. Maybe some have a tipp where i can have a look.
              An all our Netgate's we have running: pfBlockerNG und Snort (not in blocking mode)

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

                @opit-gmbh said in Captive Portal broken after upgrade to 22.05:

                The Problem with the not upcoming Captive Portal is just on some of them, not on all!

                Then you have the solution already available.

                On two pfSense sites, only the settings and surrounding hardware are different.
                pfSense on two systems is always identical.
                So, compare the settings of a working and non working site.
                Most often, its a broken DNS.

                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 0
                • B
                  backlash619 @bobcat05
                  last edited by backlash619

                  @bobcat05 Is there an easy way to revert back too 22.01?

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

                    @backlash619 unfortunately not... You have to open up a support ticket requesting access to the version of firmware you want. Then, they send you an image file that you have to write it to a USB stick and completely reinstall pfsense using the console port on the device.

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

                      @bobcat05 said in Captive Portal broken after upgrade to 22.05:

                      @backlash619 unfortunately not... You have to open up a support ticket requesting access to the version of firmware you want. Then, they send you an image file that you have to write it to a USB stick and completely reinstall pfsense using the console port on the device.

                      a) there are reinstall instructions for each model, e.g.
                      https://docs.netgate.com/pfsense/en/latest/solutions/netgate-2100/reinstall-pfsense.html
                      (if not Netgate hardware, per other posts one installs 2.6 and re-upgrades to Plus)

                      b) going forward, ZFS and Boot Environments should make rolling back easier. See the Netgate video linked from https://www.netgate.com/blog/pfsense-plus-software-version-22.05-now-available

                      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!

                      bitrotB 1 Reply Last reply Reply Quote 0
                      • bitrotB
                        bitrot @SteveITS
                        last edited by

                        @backlash619 @bobcat05 @steveits The procedure for a re-install is the same as for a downgrade. I did such a re-install after upgrading to 22.05 just recently exactly because I wanted ZFS Boot Environments capability going forward. The re-install/downgrade process is a lot less difficult than some people make it out to be. Even creating a ticket with support for a firmware download isn't a big deal. They responded to my request with a download link within minutes.

                        1 Reply Last reply Reply Quote 0
                        • T
                          TurnTheTerribleTank
                          last edited by

                          I also have the issue on 22.05. A captive portal user can blow past the firewall rules and get access to another secured LAN on the same router, etc. Luckily this is testing on a backup router and this didn't happen in production!

                          bitrotB B T 3 Replies Last reply Reply Quote 0
                          • bitrotB
                            bitrot @TurnTheTerribleTank
                            last edited by

                            @turntheterribletank Did you try the patch?

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

                              @turntheterribletank Mine can even authenticate to radius... does the patch resolve this?

                              bitrotB 1 Reply Last reply Reply Quote 0
                              • bitrotB
                                bitrot @backlash619
                                last edited by

                                @backlash619 I don't know if the patch fixes your issue. Not sure if what you're facing is related. I don't use RADIUS authentication on my Captive Portal, so I'm not able to answer that. It's simple enough to apply the patch to test it out though. You can always disable the patch afterward if it doesn't solve your issue although I would apply it anyway because it does fix a problem.

                                1 Reply Last reply Reply Quote 0
                                • T
                                  TurnTheTerribleTank @TurnTheTerribleTank
                                  last edited by TurnTheTerribleTank

                                  This is a backup router, so I'm interested in a fixed release and not necessarily looking to patch. No issues with radius, etc. That's all fine.
                                  Production and backup are both 7100 1u. The ability to roll these back will be nice.

                                  bitrotB 1 Reply Last reply Reply Quote 0
                                  • bitrotB
                                    bitrot @TurnTheTerribleTank
                                    last edited by

                                    @turntheterribletank I have no issue applying an official patch that will go into the next official release, so I can have an important fix today. But you do you :)

                                    T L 2 Replies Last reply Reply Quote 0
                                    • T
                                      TurnTheTerribleTank @bitrot
                                      last edited by

                                      @bitrot Yep. We won't be updating to 22.05 and patching. We'll wait.

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        Luca De Andreis @bitrot
                                        last edited by Luca De Andreis

                                        @bitrot Sorry..

                                        the patch file 13323.patch is different from patch https://github.com/pfsense/pfsense/commit/add6447b9dc801144141bb24f8c264e03a0e7cae

                                        8ec460ba-8f35-470e-a1e0-524584ac49d2-immagine.png

                                        and in the patch file:

                                        4bb3a0b9-af95-46d3-aacf-89b10e99b860-immagine.png

                                        Luca

                                        bitrotB 1 Reply Last reply Reply Quote 0
                                        • bitrotB
                                          bitrot @Luca De Andreis
                                          last edited by

                                          @luca-de-andreis

                                          Don't upload the file. Enter the patch URL instead.

                                          86f504b6-ede3-4a5f-b8e3-3bb084e94bc6-image.png

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            Luca De Andreis @bitrot
                                            last edited by

                                            @bitrot OK applied https://github.com/pfsense/pfsense/commit/add6447b9dc801144141bb24f8c264e03a0e7cae

                                            but before authentication it is not possible to reach the DNS (the firewall itself that acts as a resolver). The same configuration with version 22.01 worked correctly.

                                            In addition, the console displays:

                                            125521b2-866e-4ff4-b875-92be5ef76053-immagine.png

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