Time users

Alan DeKok aland at deployingradius.com
Wed Apr 22 13:55:05 CEST 2015

On Apr 22, 2015, at 7:20 AM, sandy.napoles at eccmg.cupet.cu wrote:
> Hello list, Iam using freeradius with Active directory. Everythings is ok.
> but I need to put time users, example only connect at a specific time.
> I try to put it in iptables rules, but when I put this rules nobody can
> connect. example
> $IPTABLES -A OUTPUT -d x.x.x.x -p tcp -m multiport --sports 1812,1813 -m
> time --timestart 00:00 --timestop 20:00 --weekdays
> Sun,Mon,Tue,Wed,Thu,Fri,Sat  -j ACCEPT

  That blocks RADIUS traffic.  You need to configure FreeRADIUS to return Access-Reject for those time periods.  The two things are very different.

  See http://wiki.freeradius.org/config/Users

  Look for Login-Time.

  Alan DeKok.

More information about the Freeradius-Users mailing list