基础代理设置
sudo apt-get install squid3 #安装squid
squid3 #服务直接启动
高度匿名代理需要在配置文件(sudo vi /etc/squid3/squid.cof)中添加如下:
Squid 2.x
header_access Via deny all
header_access X-Forwarded-For deny all
Squid 3.0
reply_header_access Via deny all
reply_header_access X-Forwarded-For deny all
Squid 3.1
via off
forwarded_for delete
service squid3 restart #重新启动squid3
squid -v
#查看version
Squid Cache: Version 3.1.19