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

作者: 蓝鹰 分类: CentOS 发布时间: 2014-11-19 14:59 ė3 浏览数 6架设 squid 代理(高度匿名代理设置)已关闭评论

基础代理设置
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
检测是否使用代理的网站:Proxy Checker – Anyonymity Test
http://www.iprivacytools.com/proxy-checker-anonymity-test/

PROXY CHECKER  (Anonymity Analysis):

Your IP address and hostname: 124.207.145.178 (124.207.145.178)

Here are your headers that could reveal a proxy:

  • HTTP_VIA: anonymous / none
  • HTTP_X_FORWARDED_FOR: anonymous / none
  • HTTP_FORWARDED_FOR: anonymous / none
  • HTTP_X_FORWARDED: anonymous / none
  • HTTP_FORWARDED: anonymous / none
  • HTTP_CLIENT_IP: anonymous / none
  • HTTP_FORWARDED_FOR_IP: anonymous / none
  • VIA: anonymous / none
  • X_FORWARDED_FOR: anonymous / none
  • FORWARDED_FOR: anonymous / none
  • X_FORWARDED: anonymous / none
  • FORWARDED: anonymous / none
  • CLIENT_IP: anonymous / none
  • FORWARDED_FOR_IP: anonymous / none
  • HTTP_PROXY_CONNECTION: anonymous / none

Proxy detected? NO   (So you’re either not using a proxy, or it’s highly anonymous)

本文出自 蓝鹰博客,转载时请注明出处及相应链接。

本文永久链接: http://www.lanyingblog.com/blog/2123.html

Ɣ回顶部