tor代理服务器

by 李笑来 on 2007/04/11

in uncategorized

访问wikipedia一直是我的必须,最近使用free-gate作为代理服务器总是频繁出问题,于是问tiny,他通常使用哪一个?tiny说用的是tor。其实,以前也装过tor,后来卸掉了,现在已经想不起来为什么了。但是,那并不重要,现在必须解决的问题是如何顺畅地访问wikipedia!

1. 下载并安装TOR

tor的下载地址在 这里。安装之后,无须配置。系统托盘中会多出两个图标;点击那个洋葱头图标会看到tor的菜单,单击“启用”即可。

tor-icons-in-tray.png

tor-menu.png

2. 编辑保存浏览器可使用的“自动配置脚本”

ieproxy-pac-content.png

文件内容

function FindProxyForURL(url, host){
        host=host.toLowerCase();

        if (
                dnsDomainIs(host,”wikipedia.org”)
                ||dnsDomainIs(host,”wikisource.org”)
                ||dnsDomainIs(host,”wikibooks.org”)
                ||dnsDomainIs(host,”wikimedia.org”)
                ||dnsDomainIs(host,”wiktionary.org”)
                ||dnsDomainIs(host,”wikinews.org”)
                ||dnsDomainIs(host,”wikimediafoundation.org”)
                ||dnsDomainIs(host,”mediawiki.org”)
                ||dnsDomainIs(host,”wikiquote.org”)
  ||dnsDomainIs(host,”google.com”)
  ||dnsDomainIs(host,”google.com.tw”)
  ||dnsDomainIs(host,”google.com.hk”)
  ||dnsDomainIs(host,”blogspot.com”)
  ||dnsDomainIs(host,”bbc.co.uk”)
  ||dnsDomainIs(host,”voa.gov”)
  ||dnsDomainIs(host,”voanews.com”)
  ||dnsDomainIs(host,”chinatimes.com”)
  ||dnsDomainIs(host,”udn.com”)
  ||dnsDomainIs(host,”rfa.org”)
  ||dnsDomainIs(host,”xys.org”)
  ||dnsDomainIs(host,”alexa.com”)
  ||dnsDomainIs(host,”technorati.com”)
  ||dnsDomainIs(host,”atnext.com”)
  ||dnsDomainIs(host,”yahoo.hk”)
  )
  return “PROXY 127.0.0.1:8118″;
        else
  return “DIRECT”;
}

保存位置:随便保存到哪里,只不过,一会儿要在浏览器中指定其位置。

3. 配置IE,使用“自动配置脚本”

依次打开:IE–>工具–>Internet选项–>连接–>局域网设置–>指定文件位置

ie-auto-proxy-setting.png

3′. 配置firefox,使用使用“自动配置脚本”

firefox-auto-proxy-setting.png

不过,firefox更简单,可以直接安装一个叫做tor button插件就可以了。

4. 打开浏览器,输入:en.wikipedia.org,看看能否连接成功。

{ 1 comment… read it below or add one }

1 PHproxy 2008/01/27 at 23:47

[…] 为了能够平时顺畅地检索wikipedia,尝试了各种各样的代理服务器软件。Free-gate,Tor,都有不是很方便的地方。今天找到一个Firefox的插件,叫做“PhProxy – InBasic”是基于网页的代理服务器(PHP Web Proxy)。 […]

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Previous post:

Next post: