Re: Proxy based on MAC

2007-02-04 Thread David Wood
Hi Michael and everyone, In message [EMAIL PROTECTED], King, Michael [EMAIL PROTECTED] writes Calling-Station-Id =~ ^(00-0D-93-|00-03-93-|00-05-02-) I was just concerned with a partial match I wasn't expecting. E.g. XX-XX-00-0D-93-XX That's not an issue - the other Michael began the regex

Re: Proxy based on MAC

2007-02-03 Thread Michael Griego
Where you put it all depends on your local configuration. If you put it in the users file, it might look something like this: DEFAULT Calling-Station-Id =~ ^(00-0D-93-|00-03-93-|00-05-02-), Proxy-To-Realm := ReamToProxyTo --Mike On Feb 2, 2007, at 7:47 PM, King, Michael wrote:

Proxy based on MAC

2007-02-02 Thread King, Michael
I'd like to proxy user's off to a different RADIUS server based on they're MAC address. Currently, my NAS reports MAC address as Calling-Station-Id = 00-0D-93-EA-89-06 I'd like any user that has a MAC starting with 00-0D-93 (and about 8 more MAC's) to be proxied off to another Radius server.

Re: Proxy based on MAC

2007-02-02 Thread Michael Griego
You don't *really* need to match the whole string. The following would work just as well and be much more readable: Calling-Station-Id =~ ^(00-0D-93-|00-03-93-|00-05-02-) And as to where it goes, anywhere a check expression goes: users file, SQL radcheck table, etc. As long as the server

RE: Proxy based on MAC

2007-02-02 Thread King, Michael
-Original Message- following would work just as well and be much more readable: Calling-Station-Id =~ ^(00-0D-93-|00-03-93-|00-05-02-) I was just concerned with a partial match I wasn't expecting. E.g. XX-XX-00-0D-93-XX And as to where it goes, anywhere a check expression