kooyee ‘s blog

开源软件, 众人努力的结晶, 全人类的共同财富
posts - 103, comments - 55, trackbacks - 0, articles - 66
   :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

[Squid] squid tip

Posted on 2007-10-06 22:43 kooyee 阅读(207) 评论(0)  编辑  收藏 所属分类: Software

In access contorl list

acl all src 0.0.0.0/0.0.0.0

acl  target dst 
192.168.0.1

http_access deny target
http_access allow all

it mean allow all user clinet to access internet but all user deny to access the 192.168.0.1

but
http_access allow all
http_access deny target
mean all user clinet to access internet not block any site.

if want to deny the access for a src group (i.e. clinet user), it need to indicate "http_access deny" before "http_access allow".

只有注册用户登录后才能发表评论。


网站导航: