Re: Proxying Radius Requests by Called-Station-Id

"Sergey Poznyakoff" <[email protected]> Thu, 27 Jul 2006 10:04:17 +0300
Newsgroups gmane.comp.gnu.radius.general
Organization Farlep-Internet
Message-ID <[email protected]>
Dale <[email protected]> wrote:

> I'm trying to match incomming Called-Station-Id and forward it to a
> different radius server for the response when it matches a known value.

Use raddb/hints to modify the user name. For example:

DEFAULT	    Called-Station-Id = 111111
	    User-Name = "=%[User-Name] + \"@realm1\""

DEFAULT	    Called-Station-Id = 222222
	    User-Name = "=%[User-Name] + \"@realm2\""

Then you can define realm1 and realm2 as usual in your raddb/realms
file.

Regards,
Sergey