Setting different IDLE-TIMEOUTS based on IP Address

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Tue Apr 16 19:45:02 CEST 2013


If your NAS can take such a value then it can be assigned. Either via eg users file and huntgroup or via eg unlang

if(%{NAS-Ip-Address} == "192.168.1.1") {
 update reply {
  Attribute = XYZ
 }
}

..'man unlang' for more info

alan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130416/bde48ddc/attachment-0001.html>


More information about the Freeradius-Users mailing list