基础代理设置
PROXY CHECKER
PROXY CHECKER
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
sudo service squid3 restart #重新启动squid3
squid3 -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:
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?
PROXY CHECKER (Anonymity Analysis):
Your IP address and hostname:
Here are your headers that could reveal a proxy:
- HTTP_VIA:
1.1 localhost (squid/3.1.19) - HTTP_X_FORWARDED_FOR:
127.0.0.1 - 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?
Here's how we know:
- Your HTTP_VIA header shows: 1.1 localhost (squid/3.1.19)
- Your HTTP_X_FORWARDED_FOR header shows: 127.0.0.1
参考: