How to setup a profile that is valid on a schedule

Kenroy bennettk9999 at gmail.com
Sun Apr 2 22:07:42 CEST 2017


Hello,


I have the following policy and would love it to be available  on the
following schedule. How do I modify the profile to allow this

Monday - Friday 7 am to 6pm
Saturday 7am - 3pm


----------------Profile---------------------------------

test_site {

if( &request:NAS-Port == 2030){

update control {
        Auth-Type := Accept
}

update reply {

        Nomadix-Group-Bw-Policy-Id  = 3
        Nomadix-Group-Bw-Max-Down = 30000
        Nomadix-Group-Bw-Max-Up = 30000
        Nomadix-Net-VLAN = 2030
        Idle-Timeout =  3600
        Session-Timeout = 86400



        }

}




}


More information about the Freeradius-Users mailing list