- 论坛徽章:
- 0
|
原码安装,configure --prefix=/var/squid
--sysconfdir=/etc
--enable-arp-acl
--enable-linux-netfilter
--enable-pthreads
--enable-err-language="Simplify_Chinese"
--enable-storeio=ufs,null
--enable-default-err-language="Simplify_Chinese"
--enable-auth="basic"
--enable-baisc-auth-helpers="NCSA"
--enable-underscore
http_port 10.74.100.36:3128
visible_hostname www.jslib.org.cn
cache_mgr pwj4053@etang.com
cache_mem 32 MB
cache_dir ufs /var/spool/squid 100 16 256
cache_effective_user squid
cache_effective_group squid
#支持透明代理
#httpd_accel_host virtual
#httpd_accel_port 80
#httpd_accel_with_proxy on
#httpd_accel_uses_host_header on
acl all src 0.0.0.0/0.0.0.0
#acl denyurl url_regex "/etc/squid/denyurl.txt"
acl allowedmac arp "/etc/squid/maclist.txt"
#http_access deny denyurl
http_access allow allowedmac
http_access deny all
现在allowedmac组访问不了网络。不知何故? |
|