ubuntu 安装 tor 代理

Posted 11 months, 1 week ago at 11:32 am. 0 comments

ad 468x60

以前写过好几个日志,但找不到。再记一次。来自 http://forum.ubuntu.org.cn/viewtopic.php?t=62144

第一步:添加源,安装 &

代码:
sudo vi /etc/apt/sources.list

代码:
deb http://mirror.noreply.org/pub/tor feisty main
deb-src http://mirror.noreply.org/pub/tor feisty main

代码:
sudo apt-get update
sudo apt-get install tor privoxy

源里安装的应该是: tor_0.1.2.14-1~feisty.1_i386.deb , privoxy_3.0.6-1_i386.deb

解释:web surf Wink 需要 tor/ privoxy 协同工作!
修改privoxy的配置文件: ( /etc/privoxy/config )
前边加上:
代码:
forward-socks4a / 127.0.0.1:9050 .

别忘了最后有个”.”

Privoxy 的日志文件记录所有通过它的东西。为了阻止这个你需要将它在config里注释掉(在行前添加一个 #)。
代码:
#logfile logfile
#jarfile jarfile

改完重启 Privoxy:
代码:
/etc/init.d/privoxy restart

注:privoxy stop/restart
Tor/privoxy 装好后 /etc/rc2.d目录下多了2个启动链接: S20tor,S20privoxy,自启动的,开机不需要输命令!如果想停掉tor服务,,把这连个名字前边的S改成K。。。

第二步:安装 TORBUTTON插件:
https://addons.mozilla.org/firefox/2275

Tor Disabled 点一下–> Tor Enabled

第三步:确认一下tor是否工作:—> https://torcheck.xenobite.eu/

BTW:

如何扩大swap分区

Popularity: 14% [?]

Tags: , , , , ,
ad 468x60

No Replies

Feel free to leave a reply using the form below!


Leave a Reply