squid与dns
dns_nameservers 192.168.1.112
squid3 forward proxy
1、配置文件
http_port 192.168.99.232:3126
visible_hostname 192.168.99.232
acl all src 0.0.0.0/0
acl test src all
http_access allow test
2、启动
squid3 -sD
squid3 -z reconfigure
squid3 -zX
netstat -ntlp|grep squid
3、服务器及客户端ip设置