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 Thereis some file in freeradius that make it..???
On Apr 22, 2015, at 7:20 AM, sandy.napoles@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.
participants (2)
-
Alan DeKok -
sandy.napoles@eccmg.cupet.cu