16 Jan
2012
16 Jan
'12
12:18 p.m.
On 16/01/12 16:55, Blake Hudson wrote:
It seems pretty straight forward to use one instance for auth and another for accounting, but I did not see an example or documentation on how to associate a sql instance to a nas. If you could point me in the right direction I'd appreciate it.
Simply match any attribute you want in the request, and then call the relevant modules: authorize { ... if (Client-IP-Address == 192.0.2.1) { sql1 } elsif (Client-IP-Address == 192.0.2.2) { sql2 } ... } You probably want to match on Huntgroup, Client-Shortname or some other more useful field than source IP.