nics 发表于 2018-12-26 10:52:26

squid for windows 2.6版

acl guojian src 10.15.1.39/255.255.255.255  acl hanxiaoli src 10.15.0.32/255.255.255.255
  acl xiaonei url_regex -i .xiaonei.com
  acl taobaourl_regex -i .taobao.com
  acl othercompany dst 10.0.0.0/255.0.0.0
  acl citrix dst 10.100.0.0/255.255.0.0
  acl all src 0.0.0.0/0.0.0.0
  acl manager proto cache_object
  acl localhost src 127.0.0.1/255.255.255.255
  acl to_localhost dst 127.0.0.0/8
  acl baidump3 dstdomain -i mp3.baidu.com
  acl safesite dstdomain.运维网.com .microsoft.com .symantec.com .360safe.com .spdb.com.cn.95559.com.cn.cb.kingsoft.com   .sogou.com.cmbchina.com
  acl ipsite dst "c:/squid/etc/allow_ipsite.txt"#允许访问某些特定IP地址,有的税务网站、财务网站,需要添加它们的所有IP到这里,才可以使用!
  acl SSL_ports port 80 443 563
  acl Safe_ports port 80      # http
  acl Safe_ports port 21      # ftp
  acl Safe_ports port 443 563    # https, snews
  acl Safe_ports port 70      # gopher
  acl Safe_ports port 210      # wais
  acl Safe_ports port 1025-65535    # unregistered ports
  acl Safe_ports port 280      # http-mgmt
  acl Safe_ports port 488      # gss-http
  acl Safe_ports port 591      # filemaker
  acl Safe_ports port 777      # multiling http
  acl Safe_ports port 1251 1252 2598# citrix
  #acl Safe_ports port 7001
  #acl QQ_port port 4000 8000
  acl CONNECT method CONNECT

页: [1]
查看完整版本: squid for windows 2.6版