NAS ID re-write

Nicolas Baradakis nbk at sitadelle.com
Fri Feb 10 10:40:58 CET 2006


Nicola Iotti wrote:

>     I'm using freeradius 1.0.5 just as proxy to do a realm based messages
> redirection... How can I re-write NAS_ID ( attribute 32) with different ID
> for different redirection options...

Please no HTML to the list.

You might add some entries in file "/etc/raddb/preproxy_users":

DEFAULT Realm == "foo.net"
	NAS-Identifier := "abcd"

DEFAULT Realm == "bar.com"
	NAS-Identifier := "wxyz"

And make sure you have the module "files" in section "pre-proxy"
of "radiusd.conf".

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list