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

    Captive portal Radius Mac authentication

    Scheduled Pinned Locked Moved Captive Portal
    6 Posts 4 Posters 2.4k 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.
    • S
      Spics
      last edited by Spics

      Hello to all.
      Let me tell you right now, I am from Russia. But I was advised to come here.

      And so my problem is:
      I have PFsense 2.5.2. CAPTIVE PORTAL is configured on it, which determines by MAC address whether the client can access the Internet or not.

      There was a task to organize authorization through MAC RADIUS. But during authorization, PFsense sends data that does not correspond to what the RADIUS SERVER is waiting for.

      If I go to Diagnostics/Authentication and try to login using the MAC address as username and password, everything is fine. But when I try to connect a router with the same MAC address to the network, I see the Mac authentication failed error.

      How can I make Pfsense send MAC address as login and password?

      9340c54d-3527-4675-8033-5d9b74a87cbd-image.png

      TEST login\pass: a8:f9:4b:4c:1c:3b

      072d13d2-e0d7-4494-984c-8865e88e6992-image.png

      Captive portal options:

      ae4c0f94-a746-47e5-b118-a32da61b3c4d-image.png

      f0cf67d3-f47f-4296-9f7f-3b2a7bf61b61-image.png

      95c58ef3-584e-4261-a8d6-71d655285af0-image.png

      d7c75cfe-0b50-4203-ae1c-f62d045fd767-image.png

      W F 2 Replies Last reply Reply Quote 0
      • W
        WorldDrknss @Spics
        last edited by

        @spics Have you tried changing your authentication method to RADIUS MAC?

        S 1 Reply Last reply Reply Quote 0
        • S
          Spics @WorldDrknss
          last edited by

          @worlddrknss yes, but i get the same problem. Left it like that because I was going through the options.

          S 1 Reply Last reply Reply Quote 0
          • S
            Spics @Spics
            last edited by

            Any ideas?

            1 Reply Last reply Reply Quote 0
            • F
              free4 Rebel Alliance @Spics
              last edited by

              @spics you can't

              The captive portal has been designed to send the Mac as login and a custom value (a pre shared secret) as password.

              Please update your radius configuration accordingly

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

                and, update also pfSense itself, it' "2.6.0" these days.

                When done, see this thread : https://forum.netgate.com/topic/171351/needed-configuration-for-captive-portal-mac-authentication-using-freeradius-macs-tab/2?_=1649259637873 which looks like your question "Needed Configuration for Captive portal MAC Authentication using Freeradius MACs tab".
                I'm not sure that what has been said over there is also valid for old version like 2.5.2.
                Maybe it is. Maybe not.

                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
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.