acl localnet src172.16.0.0/12#RFC1918possible internal network acl localnet src192.168.0.0/16#RFC1918possible internal network # 配置可访问的端口 acl SSL_ports port443acl Safe_ports port808080# http acl Safe_ports port21# ftp acl Safe_ports port443# https acl Safe_ports port70# gopher acl...
acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT # 拒绝所有非Safe_ports的请求 http_access deny !Safe_ports # 拒绝所有非SSL_prots的CONNECT请求 http_access deny CONNECT !SSL_ports # Only allow cachem...
acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https 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_por...
16 acl Safe_ports port 21 # ftp 17 acl Safe_ports port 443 # https 18 acl Safe_ports port 70 # gopher 19 acl Safe_ports port 210 # wais 20 acl Safe_ports port 1025-65535 # unregistered ports 21 acl Safe_ports port 280 # http-mgmt 22 acl Safe_ports port 488 # gss-http 23 ac...
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network acl localnet src 192.168.0.0/16 # RFC1918 possible internal network # 配置可访问的端口 acl SSL_ports port 443 acl Safe_ports port 80 8080 # http acl Safe_ports port 21 # ftp ...
将刚才定义的acl应用到规则中,如下: 代码语言:javascript 复制 [root@localhost squid]# vim/etc/squid.conf...http_access deny!Safe_ports #squid默认存在的访问权限 http_access deny mediafile #禁止客户机下载mp3等文件 http_access deny ipblock #禁止...
acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports ...
acl Safe_ports port488# gss-http acl Safe_ports port591# filemaker acl Safe_ports port777# multiling httpacl CONNECTmethod CONNECT # # Recommended minimum Access Permission configuration:#拒绝Safe_ports和SSL_ports之外的端口访问# Deny requests to certain unsafe ports ...
将刚才定义的acl应用到规则中,如下: [root@localhost squid]# vim /etc/squid.conf ... http_access deny !Safe_ports #squid默认存在的访问权限 http_access deny mediafile #禁止客户机下载mp3等文件 http_access deny ipblock #禁止客户机访问黑名单中的IP地址 http_access deny dmblock #禁止...
acl manager proto cache_object acl localhost src 192.168.10.3/255.255.255.255 acl SSL_ports port 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 ...