Script to auth. users and control the remote phone number used

James Wakefield jamesw at deakin.edu.au
Thu Nov 23 13:16:05 CET 2006


Luis wrote:
> Hi again,
> 
> Can anyone tell me if it is possible to control the authentication
> process using the remote telephone number used by the user?
> 
> Thanks again :D

Hi Luis,

You can conditionally authorize users based on phone numbers, yes, if 
the NAS provides you that information, which it should if your telco 
carrier provides it.  Calling-Station-Id usually contains the number 
that the user is dialling from (the calling party), and 
Called-Station-Id usually contains the number that the user dialled (the 
called party).  You can use those attributes as part of check items in 
your users file, or whatever you happen to use.

Cheers,
-- 
James Wakefield,
Unix Administrator, Information Technology Services Division
Deakin University, Geelong, Victoria 3217 Australia.

Phone: 03 5227 8690 International: +61 3 5227 8690
Fax:   03 5227 8866 International: +61 3 5227 8866
E-mail:   james.wakefield at deakin.edu.au
Website:  http://www.deakin.edu.au



More information about the Freeradius-Users mailing list