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

    Captive Portal speed limit stopped working

    Scheduled Pinned Locked Moved Captive Portal
    13 Posts 2 Posters 1.1k 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.
    • P
      pki79
      last edited by

      Under Diagnostics/ Limiter Info most limter shows "unlimited", i think that is wrong, they should show the default per user limit.

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

        @pki79 said in Captive Portal speed limit stopped working:

        Any ideas? Have I missed something?

        Good news and bad news : probably not.

        It works for me, because I use FreeRadius as the authorization/accounting :

        d08b37e1-2511-4151-bc57-8616ef78ac26-image.png

        and when I login with this portal user ID :

        f054d23c-705a-4c89-8069-76d44e540aa5-image.png

        But I get it : you're not using the FreeRadius package.

        I've tested with this setting :

        b7ce21f9-1c0b-4ff8-bd4f-9878aed0a64e-image.png

        and

        bcae268a-7faa-4031-b49d-4fc6e40bbbe5-image.png

        I took my phone, connected to the portal and did a speed test :

        2dce43f2-517a-4835-b054-e4f09168d528-image.png

        Which seems pretty spot-on to me.

        Btw : Maybe you found a difference between pfSense 2.7.0 and pfSense 23.05.1, the version I'm using ?!

        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
        • P
          pki79
          last edited by

          Thank You for great investigation. I authenticate devices by mac address only. Is it possible You check it that way?

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

            @pki79

            Like :

            fee683d1-6ae2-4c71-965f-d40fbab175d8-image.png

            using :

            c0741f85-9553-43d0-9129-c8b772a3aadf-image.png

            I saw :

            fdc26dde-1376-4b32-b08f-181a11c990e9-image.png

            and below :

            51e095bb-8d86-408d-9c17-6063d52d464d-image.png

            Result :

            f85d3f58-c891-42f7-a635-bf9de25bf111-image.png

            Btw : I executed one more step after adding my MAC : I've disabled the portal, and re enabled it.

            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
            • P
              pki79
              last edited by

              Within the mac address addition, You entered the download/upload speed or left the fields blanc?

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

                @pki79
                as shown above (previous post) :

                32e786c2-206e-4e35-960c-2cf28957d5c0-image.png

                and then I tested using the app on my phone.

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

                P 1 Reply Last reply Reply Quote 0
                • P
                  pki79
                  last edited by pki79

                  Okay, that works here too. The problem is in the situation where i leave the speed fields empty (while adding mac address), only fill the default speed limits in captive portal config.

                  Are You willing to try this case?

                  CP settings
                  0290d5ff-a98d-47ed-b9fc-043a47ac3038-image.png

                  MAC address
                  3bd55dcc-0acd-4157-a73a-845052a0ce49-image.png

                  Speedtest
                  ef2e8e10-1fa1-431e-9291-b84ab6e856c9-image.png

                  1 Reply Last reply Reply Quote 0
                  • P
                    pki79 @Gertjan
                    last edited by

                    @Gertjan are You willing to test that setup?

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

                      @pki79

                      Not needed 😊

                      IMHO, It works like this :
                      All connected devices that use the captive portal page will have a related "pipe". You can see these pipes here : Diagnostics > Limiter Info
                      These users will also get listed here : Status > Captive Portal > CPZONE
                      These users will all have the common "Per-User-bandwidth restriction", your 15001 down and 7501 up.

                      For MAC (in the MACs page) listed devices, they will have their own pipes, and their own, individual limits. You've listed none, so "Piots Desktop Z270" is unimited

                      In other words : the ""Per-User-bandwidth restriction" is for the devices that have to authenticate.
                      MACs, Allowed IP addresses and Allowed Host-names have their own speed limits.

                      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
                      • P
                        pki79
                        last edited by

                        No way, i am using pfsense since some years. Some updates ago the limit was applied to the MAC users for sure. I dobt know when it changed, or may be it's a bug.

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

                          @pki79

                          If MAC bandwidth isn't set, like you've shown, then this setting :

                          41660ef0-6070-4d21-9acd-02106496902d-image.png

                          should apply ?

                          Its says : logged in users. MAC users are not logged in ^^

                          Possible that it worked differently before, I don't recall as I'm not (or rarely using) the MAC entries.
                          The portal, since the day it (pfSense) was forked from M0n0wall.

                          A lot changed recently, as ipfw got ditched for a pf being put on steroids. The functionality you described might be most during that process.

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

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            pki79 @Gertjan
                            last edited by

                            @Gertjan ok, then it seems things changed and i need to update all MAC settings.

                            Thank You.

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