■服务器端
修改/etc/squid/squid.conf文件
http_access allow all
cache_peer 15.106.229.242 parent 8080 7 no-query proxy-only default
http_port 3128 transparent
(如果是2.5的老版本的话
http_port 172.16.0.1:3128
http_port 172.16.1.1:3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
出自
http://www.christianschenk.org/blog/transparent-proxy-with-squid/
)
修改/etc/squid/squid.conf文件
http_access allow all
cache_peer 15.106.229.242 parent 8080 7 no-query proxy-only default
http_port 3128 transparent
(如果是2.5的老版本的话
http_port 172.16.0.1:3128
http_port 172.16.1.1:3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
出自
http://www.christianschenk.org/blog/transparent-proxy-with-squid/
)