由 freeredhat 在 05-15-2004 23:54 发表:
squid问题
谁能否发一篇关天squid内部局域网控制的文章,你比如限制哪些网站不能被访问,或只能访问哪几个网站,还有限速的,用google在网上搜了一下,有很多但讲得不太清楚,
哪位大侠能发一篇,不甚感激。
由 czking 在 07-19-2004 16:39 发表:
顶,也想知道,看了好几篇,也没有找到。
去看man
由 Snoopy 在 07-19-2004 16:48 发表:
精华的squid贴有答案
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 czking 在 07-19-2004 17:36 发表:
翻看了精华贴的所有帖子,共计10页,也没有找到。
不过,要靠自己,继续找!
由 czking 在 07-19-2004 17:56 发表:
补充一句,我要想知道如何限制下载速度的,比如说,限制下载速度为50K
由 czking 在 07-19-2004 18:11 发表:
限制访问时段。
acl allowed_clients src 192.168.0.1/255.255.255.0
acl regular_days time MTWHF 10:00-16:00
http_access allow allowed_clients regular_days
http_access deny !allowed_clients
这个规则允许子网192.168.0.1中的所有客户机在周一到周五的上午10:00到下午4:00
访问 Internet。
为不同的客户机分配不同的访问时段。
acl hosts1 src192.168.0.10
acl hosts2 src 192.168.0.20
acl hosts3 src 192.168.0.30
acl morning time 10:00-13:00
acl lunch time 13:30-14:30
acl evening time 15:00-18:00
http_access allow host1 morning
http_access allow host1 evening
http_access allow host2 lunch
http_access allow host3 evening
http_access