Custom Logging

Nasser Heidari nasser at rasana.net
Mon Oct 5 14:32:37 CEST 2009



> -----Original Message-----
> From: Nev [mailto:nev at watchuktv.co.uk]
> Sent: 2009/10/05 02:22
> To: nasser at rasana.net
> Subject: Custom Logging
> 
> Hi Nasser,
> 
> I was wondering if you could share how you configured checkval module
to
> allow certain users/groups to access specific NAS servers.
> 
radiusd.conf:

	...
	...
checkval NAS_IP {
                item-name = NAS-IP-Address
                check-name = NAS-IP-Address
                data-type = ipaddr
                nofound-reject = no
        }
	...
	...
authorize {
        preprocess
	  ...
	  ...
        sql_auth
        NAS_IP
        ...
	  ...	
}

And after that you need A/V Pair for each user like this:

test Auth-Type := Local, User-Password := 123321, NAS-IP-Address :=
1.2.3.4


> This I'm about to start and it would save me a lot of time.
> 
> Thx
> Nev





More information about the Freeradius-Users mailing list