FreeRadius e MAC authentication
-
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> -
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: 000d6063f785No need to enabled "Plain-MAC-Auth"
-
Great!
It worksNow i have another problem, i have to bind VLAN ID 1 to the LAN interface but don't understand how
Thanks -
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