Outils personnels
Vous êtes ici : Accueil GNU / Linux Debian Installer un proxy anonymisant TOR sur Debian 4.0 Etch
Actions sur le document
  • Send this page to somebody
  • Print this page
  • Add Bookmarklet

Install a TOR anonymizing proxy server on Debian 4.0 Etch

Par Pierre-Yves Landuré - Dernière modification 09/01/2011 21:22

TOR (also known as The Onion Router) is a network of chained proxy servers which communications are crypted several times.

Fast and obfuscated

The following command lines summaries this article. Copy / paste them in your root terminal to install TOR and Privoxy quickly :

echo "# Tor Onion Router
deb http://mirror.noreply.org/pub/tor etch main
deb-src http://mirror.noreply.org/pub/tor etch main" |
tee /etc/apt/sources.list.d/etch-tor.list
gpg --keyserver subkeys.pgp.net --recv CFF71CB3AFA44BDD
gpg --export CFF71CB3AFA44BDD | apt-key add -
apt-get update
apt-get -y install tor privoxy
echo "forward-socks4a / localhost:9050 ." >> /etc/privoxy/config
sed -i -e 's/^\(listen-address[ \t]*\)127\.0\.0\.1/\1/' /etc/privoxy/config
/etc/init.d/privoxy restart

Installation

First, we add TOR repository to our apt configuration :

echo "# Tor Onion Router
deb http://mirror.noreply.org/pub/tor etch main
deb-src http://mirror.noreply.org/pub/tor etch main" |
tee /etc/apt/sources.list.d/etch-tor.list

We configure the GPG key signing this repository as a trusted key :

gpg --keyserver subkeys.pgp.net --recv CFF71CB3AFA44BDD
gpg --export CFF71CB3AFA44BDD | apt-key add -
We update the available packages list :
apt-get update

And we install the need software :

apt-get install tor privoxy

tor is the package for the anonymizing proxy. privoxy is a software that allows us to use TOR as a SOCKS 4a proxy. This means that all DNS query are send through the TOR network, in order to have a better anonymizing.

Setup

The tor package does not need any specific configuration. We are going to modify the privoxy configuration. The privoxy configuration file is : /etc/privoxy/config.

We first tell privoxy to use TOR as a SOCKS 4a proxy server :

echo "forward-socks4a / localhost:9050 ." >> /etc/privoxy/config

If you want to use TOR on the local computer, you can ignore the following step. If you want to use TOR through a local network, you must tell privoxy to listen for connections comming from other computers. This is done by the following command line :

sed -i -e 's/^\(listen-address[ \t]*\)127\.0\.0\.1/\1/' /etc/privoxy/config

Note : This line configure privoxy to listen for connections on every network interfaces. If your computer is directly connected to the internet (without any router), this is probably a bad idea. You should listen only to IP address coming from your local network :

ifconfig eth0 | grep "inet adr" \
| sed -e 's/.*inet adr:\([0-9\.]*\).*/\1/' \
| xargs -iLOCAL_ADDRESS \
sed -i -e 's/^listen-address[ \t]*127\.0\.0\.1/listen-address LOCAL_ADDRESS/' \
/etc/privoxy/config

One other change is need to disable log of visited sites. By default, privoxy logs HTTP requests. This command line disable this behaviour :

sed -i -e "s/^\(debug[ \t]*1[ \t]*.*\)/#\1/" /etc/privoxy/config 

Now, we need to restart privoxy :

 /etc/init.d/privoxy restart

Use

Make use of this proxy server is very easy. Setup your Web client to use the proxy server that you have just installed. The IP address is the IP address of your server, and the port is 8118.

If you use TOR to protect you identity, you will encounter this limitations :

  • The download speed of web pages is very low. Your anonimity is at price of your surf comfort.
  • Some sites does not allow connections coming for the TOR network.
  • Users of TOR are banned from some IRC channels, like #ubuntu on Freenode network.

Thanks

tor

Posté par joeyy le 22/09/2010 08:39
buffing speed is low on videos, music

guest test title

Posté par GuestagecyJN le 28/05/2018 13:41
guest test post
<a href=" http://temresults2018.com/ ">bbcode</a>
<a href="http://temresults2018.com/">html</a>
http://temresults2018.com/ simple

BlogBang
Navigation
 

Réalisé avec Plone

Ce site respecte les normes suivantes :

Wikio