架设 squid 代理(高度匿名代理设置)

基础代理设置
yum -y install squid #安装squid
squid #服务直接启动
高度匿名代理需要在配置文件(sudo vi /etc/squid/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 squid restart #重新启动squid

 

你可能感兴趣的:(qui)