VLAN Assignment

Rodrigo Abrantes Antunes rodrigoantunes at pelotas.ifsul.edu.br
Thu Aug 31 16:18:25 UTC 2023


Citando Kristofer Hallin <kristofer at sunet.se>:

> Most of the time you just have to return these attributes with  
> whatever values is useful for you.
>
> Tunnel-Type
> Tunnel-Medium-Type
> Tunnel-Private-Group-Id
>
> /K


This worked, thanks!!

In sites-enabled/default I added this

if (LDAP-Group == "mygroup"){
    update reply {
       Tunnel-Type = "VLAN",
       Tunnel-Medium-Type = "IEEE-802",
       Tunnel-Private-Group-Id = "102"
    }
}

And I had to enable use_tunneled_reply on the eap module too.


Is this the proper way to return the attributes or should I use the  
user files instead?

Thanks







More information about the Freeradius-Users mailing list