write accounting of concrete NAS to separate file

Alan DeKok aland at deployingradius.com
Tue Feb 17 13:33:30 CET 2015


On Feb 17, 2015, at 7:23 AM, Vld <ponch at ponch.ru> wrote:
> With Freeradius 2.1.x brach is it possible to exclude accounting data
> of specific NAS (or may be by user-name) from general detail and
> redirect it to another separate file?

  Yes.  There are many ways to do this.  One is to configure two copies of the detail module, and then do:

accounting {
	…

	if (Client-IP-Address == 1.2.3.4) {
		detail1
	}
	else {
		detail2
	}

  Alan DeKok.




More information about the Freeradius-Users mailing list