技术解析

如何配置 squid?
0
2021-07-21 07:08:49
idczone
参照 gentoo wiki 安装了 squid, 然后启动.但是无法使用.
应该是 http_access allow 未允许连接.
请问如何配置?
部分配置:
/>Recommended minimum Access Permission configuration:
/>Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager
Deny requests to certain unsafe ports
http_access deny !Safe_ports
Deny CONNECT to other than secure SSL ports
http_access deny CONNECT !SSL_ports

很久没搞Squid,差不多是这样:
acl mynetwork src 192.168.0.0/16
http_access alow mynetwork

楼主多看下文档好过啦

数据地带为您的网站提供全球顶级IDC资源
在线咨询
专属客服