separate accounting to two modules based on NAS-IP-Address

Nicolas Baradakis nbk at sitadelle.com
Tue Sep 27 13:04:47 CEST 2005


Ilia Chipitsine wrote:

> how can I organize radiusd.conf in order to put accounting coming
> from nas1 to one module and from nas2 to another module ?

You might try to add these lines in file acct_users:

DEFAULT NAS-IP-Address == 10.0.0.1, Acct-Type := acct.nas1

DEFAULT NAS-IP-Address == 10.0.0.2, Acct-Type := acct.nas2

And in radiusd.conf:

accounting {
	Acct-Type acct.nas1 {
		module1
	}
	Acct-Type acct.nas2 {
		module2
	}
}

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list