Deleting VLAN information while proxying

Alan DeKok aland at ox.org
Tue Feb 7 22:27:36 CET 2006


Tomasz Wolniewicz <Tomasz.Wolniewicz at uni.torun.pl> wrote:
> I am not sure what you mean by that. Using NAS information is the only
> thing that came to our minds, that is we create a large hunt group
> containing all local NASes and add VLAN data only when this is hit. But
> we did not manage to make any comparison of NAS-IP-Address other then
> equality. If one could use regex then it would be easy, but somehow this
> did not seem to work.

  You can use rlm_passwd, and create a "local group" based on NAS IP
address.  Then in the "users" file, key off of the "local group", and
set the VLAN.

  See "man rlm_passwd" for examples of doing something similar.

  Alan DeKok.




More information about the Freeradius-Users mailing list