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

    FreeRadius e MAC authentication

    Italiano
    2
    4
    4.1k
    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.
    • V
      violinipa
      last edited by

      Ciao a tutti,
      sto cercando di configurare freeradius in modo che effettui l'autenticazione basata su mac ma non c'è verso, nonostante abbi ainserito tra le mie mac la macchina da autenticare il risultato è che nel log appare questo messaggio:
      radiusd[57273]: Login incorrect: [000d6063f785/<via auth-type="EAP">] (from client switch-01 port 47 cli 00-0d-60-63-f7-85)

      La configurazione che sto cercando di realizzare è la seguente: switch dell PE2848 che alla connessione di un client invia il mac del client al freeradius di pfsense che dovrebbe rispondere autorizzando la porta ed assegnando la vlan corretta. Al momento sembra che freeradius non riconosca la richiesta nonostante il mac sia correttamente nel db.

      Qualcuno ha provato una configurazione simile?

      Io ho seguito queste scarse indicazioni http://doc.pfsense.org/index.php/FreeRADIUS_2.x_package#How_to_enable_Plain_MAC_Auth
      Grazie</via>

      1 Reply Last reply Reply Quote 0
      • N
        Nachtfalke
        last edited by

        As you can see, your switch is doing EAP-Auth

        radiusd[57273]: Login incorrect: [000d6063f785/<via auth-type="EAP">] (from client switch-01 port 47 cli 00-0d-60-63-f7-85)</via>
        

        Probably the switch is sending the MAC address of the computer as username and password.
        So just go to
        Freeradius -> Users
        Username: 000d6063f785
        Password: 000d6063f785

        No need to enabled "Plain-MAC-Auth"

        1 Reply Last reply Reply Quote 0
        • V
          violinipa
          last edited by

          Great!
          It works

          Now i have another problem, i have to bind VLAN ID 1 to the LAN interface but don't understand how
          Thanks

          1 Reply Last reply Reply Quote 0
          • N
            Nachtfalke
            last edited by

            The parent (LAN)interface on pfsense is always an UNtagged interface on VLAN1

            If you go to INTERFACES -> assign -> VLAN
            there you can create VLAN tags on a parent interface. For example VLAN20. These VLANs are always TAGGED

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