how to do the dynamic VLAN rewrite according to the usernameorcalling-station-id?

tnt at kalik.co.yu tnt at kalik.co.yu
Tue Nov 6 22:09:58 CET 2007


You should seriously think about using (sql or ldap) groups. You than
have one setting for blocked group, one for the others. If you are keen
on scripts => exec module.

Ivan Kalik
Kalik Informatika ISP


Dana 6/11/2007, "schilling" <schilling2006 at gmail.com> piše:

>On 11/6/07, tnt at kalik.co.yu <tnt at kalik.co.yu> wrote:
>>
>> >Suppose we use Users file, where else in the freeradius configuration, we
>> >can check and how to rewrite the VLAN?
>> >
>> >Thanks.
>> >
>> >Shiling
>> >
>> >
>> >alan
>> >> -
>> >> List info/subscribe/unsubscribe? See
>> >> http://www.freeradius.org/list/users.html
>>
>> Nowhere. Put these as reply attributes:
>>
>> Tunnel-Type = VLAN,
>> Tunnel-Medium-Type = IEEE-802,
>> Tunnel-Private-Group-Id = vlannumber
>
>
>Thanks for this info. One more step, is there any place in the freeradius
>configuration file that we can run a script to check the incoming radius
>request user-name/calling-station-id agaist a file for example
>youAreBlocked.txt, and then set the above attributes in the reply to the
>NAS?
>
>Shiling
>
>Ivan Kalik
>> Kalik informatika ISP
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>




More information about the Freeradius-Users mailing list