Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


bmentink

48 posts

Geek
+1 received by user: 3


#103467 7-Jun-2012 17:05
Send private message

Hi All,

I am wanting to limit my daughters access to facebook to certain times of the day. I have managed to achieve this for
one time slot in the day by doing the following rule:
 

REJECT loc:192.168.0.30 net:69.171.224.0/19,69.63.176.0/20,66.220.144.0/20 - - - - - - - -timestart=20:30&timestop=20:00&localtz

This works fine to limit access except from 8pm till 8:30pm

However, I would like to add another time slot in a different part of the day ... can I just add some more "timestart" "timestop" entries? If so, please provide an example 

Cheers,
Bernie.

Create new topic
beaverusiv
49 posts

Geek
+1 received by user: 2


  #646938 27-Jun-2012 12:36
Send private message

I have no real experience with this but I'm sure just making another rule would do it. Like so:

REJECT loc:192.168.0.30 net:69.171.224.0/19,69.63.176.0/20,66.220.144.0/20 - - - - - - - -timestart=20:30×top=20:00&localtz
REJECT loc:192.168.0.30 net:69.171.224.0/19,69.63.176.0/20,66.220.144.0/20 - - - - - - - -timestart=23:30×top=0:30&localtz

Have you tried that?




-Nick




bmentink

48 posts

Geek
+1 received by user: 3


  #646942 27-Jun-2012 12:39
Send private message

Thanks for that, that would likely work. However, I have installed squid as a transparent proxy in the meantime, and that works great ..

Cheers,
B

Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.