Squid代理服务器配置
Added by 范 益波 over 8 years ago
参考:
http://blog.csdn.net/zzulp/article/details/17763527
https://www.cnblogs.com/cherishry/p/5706736.html
- 示例1: 只允许192.168.0.0/16内网访问3128的代理服务
编辑 /etc/squid/squid.confacl localnet src 192.168.0.0/16 acl ProxyPort port 3128 http_access allow localnet ProxyPort http_access deny localnet
启动:/etc/init.d/squid start/stop/restart/reload
- 只允许192.168.x.x网段访问
acl localnet src 192.168.0.0/16
- 只允许192.168.69.x网段访问
acl localnet src 192.168.69.0/24
- 只允许192.168.69.100 IP访问
acl localnet src 192.168.69.100