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:
-----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 goes: users file, SQL radcheck table, etc. As long as the server is compiled with regular expressions and they're left enabled (which in the default configs, they are), you should be golden.
Ok... Any hints on where a proxy should go? :-)
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/ users.html