Setting different IDLE-TIMEOUTS based on IP Address
A.L.M.Buxey at lboro.ac.uk
A.L.M.Buxey at lboro.ac.uk
Tue Apr 16 23:39:18 CEST 2013
Hi,
> For examples this is what we have in our clients config file now (with our
> internal IP's changed for obfuscation's sake):
>
> client 10.99.3.0/24 {
> secret = XXXXXXX
> shortname = MSP 7345's
> }
>
> client 10.3.99.0/24 {
> secret = XXXXXX
> shortname = SNJ 7000 Switches
> }
I'd use "%{client:shortname}" eg
if ("%{client:shortname}" == "MSP 7345's") {
update reply {
Idle-Timeout = 1800
}
}
yes. you can do that sort of thing. :-)
alan
More information about the Freeradius-Users
mailing list