LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2008, 02:48 AM   #1
Jazlearner
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Help Me Out


I am using Redhat 9 with squid as proxy server. proxy is transparent. i have mentioned acls to restrict users to use internet in time slots and also have restricted some sites. i need to present a solution in which every user should have right to access a single site 24/7 (Like mail.google.com or any other) although he is behind acl(internet usage restriction). some body told me that it is possible but don't know how.
Kindly any body help me out


Regards
 
Old 05-14-2008, 03:23 AM   #2
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
According to this site:

http://www.linuxdevcenter.com/pub/a/...t_gateway.html

You should be able to distinguish using something like:

# Define access time:
acl worktime_am time MTWHF 8:00-11:00
acl worktime_pm time MTWHF 12:00-16:40

# Define access lists:
acl time_unlimited src "/etc/squid/time_unlimited.list"
acl time_limited src "/etc/squid/time_limited.list"
...

# Set rules:
http_access allow time_unlimited
http_access allow time_limited !worktime_am !worktime_pm
http_access deny all
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off




All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration