1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Schedule Internet access
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: Schedule Internet access
#15839
Schedule Internet access 2 Years, 9 Months ago  
I have a sister and brother that need to limit their internet uses past sleep time.

The only function I found in ClearOS is access control which blocks through the web proxy, but last time I used it it only blocked web access, not games and services like WoW and MSN. Is there a plugin or another way of stopping a certain MAC adress to access the internet?
Kevin Ornholt
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#16242
Re:Schedule Internet access 2 Years, 9 Months ago  
you can try Access list under the squid..it provides avdance features...to edit this:
Code:

vi /etc/squid/squid.conf


add this to restrict
Code:

acl workdays time M T W H F 9:00-17:00
http_access allow workdays


this will restrict all users from monday to friday from time 9-17...
you can now customize this with mac address to restrict it by using
Code:

acl M1 arp 01:02:03:04:05:06



now it becomes something like
Code:

acl M1 arp 01:02:03:04:05:06
acl workdays time M T W H F 9:00-17:00
http_access deny workdays
http_access deny M1


reference : www.visolve.com/squid/Squid_tutorial.php
never tried this before with mac....but why don't you give a try....it is fun testing....

or you can simply use this rule to add in firewall..so it perfectly works for all outgoing traffic

Code:

iptables -t nat -I PREROUTING 1 -m mac --mac-source MAC_ADDR -m time --timestart 22:00 --timestop 06:00 --weekdays Sun,MonTue,Wed -j DROP


Code:

iptables -t nat -I PREROUTING 2 --mac-source MAC_ADD2 -m time --timestart 22:00 --timestop 06:00 --weekdays Mon,Tue,Wed,Thu,Fri -j DROP



hope this is the one you where searching
~prahmod
Pramod Giri
Senior Boarder
Posts: 55
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#16260
Re:Schedule Internet access 2 Years, 9 Months ago  
Kevin Ornholt wrote:
I have a sister and brother that need to limit their internet uses past sleep time.

The only function I found in ClearOS is access control which blocks through the web proxy, but last time I used it it only blocked web access, not games and services like WoW and MSN. Is there a plugin or another way of stopping a certain MAC adress to access the internet?


I use the web proxy to block my kids' access to the internet once they are outside their access control time block. Thus they can not access anything that requires an internet connection including MSN or games. I would suspect that it will work for you too. (I also use "TimesUpKidz" to limit their use of the computer - a couple of XP machines.)
MikeCindi
Senior Boarder
Posts: 69
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
The plans of the diligent lead to profit...Pro. 21:5
 
#43218
Re:Schedule Internet access 10 Months, 3 Weeks ago  
I had this experience try to configure Access Control. Every time I set the policy, it allows the user to have internet anytime even if I set "ACL Type" into Allow and Deny.
Below are my configuration.





Renan Mara
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/07/03 05:03 By renan.
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop