add realm to user based on NAS-IP

Alexander Papenburg freeradius at papenb.org
Sat Mar 31 18:11:46 CEST 2007


Hi all,

i wonder if it is possible to add a realm to a username based on the 
NAS-IP the request come from.
For instance:
- user "abc" logs on router 10.0.0.1

- router 10.0.0.1 asks a freeradius proxy for user "abc"

- freeradius-proxy recognize the ip and add "@realm" to the username and 
proxy the request to another freeradius-server based on "realm"-entry 
in proxy.conf

Unfortunatly I found many "solutions" in the past 2 hours (like 
proxy-to-realm, attr_rewrite, hints...), I cant't decide which is the 
right one for me. %) So help would be much appreciated.


Thanks in advance

Alexander



More information about the Freeradius-Users mailing list