Anonymously Browsing With Tor (installation) at the Raspberry Pi 3.

by Tsartsanis in Circuits > Raspberry Pi

30046 Views, 33 Favorites, 0 Comments

Anonymously Browsing With Tor (installation) at the Raspberry Pi 3.

torpi.jpg

Hello everybody.

This is an instructable about installing and using Tor in order to access anonymously the Internet.The whole installation takes some time so grub a cup of coffee and start typing some commands.

This is not a Tor Relay installation

Few Words Before the Whole Process.

FITCTGEIK2X7HBX.MEDIUM.jpg

As i said this is not a Tor Relay installation. Few years ago i tried to download and use Tor browser for my Raspberry pi 1 but it never worked, i manage to install Tor from source and now i have a new Raspberry pi 3 so i used almost the same steps to see if it works and it works.

Update Your System.

FXNQLNWITW34CGR.jpeg
update.png
upgrade.png

This is a basic step before we start typing some serious commands.

For this project i used the Raspbian image from https://www.raspberrypi.org/downloads/raspbian/

November 2017.

Lets start updating our system:

1.Open a terminal and type sudo apt-get update

2.After the update ends type sudo apt-get upgrade. The upgrade should not take long because we have the latest image.

That's it.Our system is up to date and we are ready to start installing some additional packages

Additional Packages - Tor Installation

libssl.png
libevent.png
zliblg.png
wgetor.png
unzip.png

In this step we will install Tor from source. It takes time and we will work from the terminal. In order to use Tor we also need to have installed:

  • Openssl - your OS is updated so you don't need to do nothing, Just install libssl-dev
  • Libevent - Libevent API
  • Zlib

Open a terminal and start typing the commands:

#Install libevent-dev --> sudo apt-get install libssl-dev

#Install libevent --> sudo apt-get install libevent-dev

#Install zlib--> sudo apt-get install zlib1g-dev

OK we have installed the additional packages and we will download Tor. From the same terminal type:

wget https://dist.torproject.org/tor-0.3.1.9.tar.gz and wait a couple of seconds until the file is downloaded. Then

#Unzip the image you just downloaded with the command
tar xzf tor-0.3.1.9.tar.gz

#Enter the folder you just unzipped with the command
cd tor-0.3.1.9

#Configure Tor with the command
./configure && make

(This is the last but long step, if you done the previous commands correct the building will last about 35 minutes using the wifi of your Rasperry pi,that's how it took my Raspberry Pi 3. If you haven't install the above packages or openssl you will see an error message and the building will stop after a couple of minutes. So hit enter and do something else because it takes time)

OK that was the installation of Tor but we will not start the service. First lets configure Firefox.

Configure Firefox Advanced Network

firefox.png
firefox2.png
proxy.png

Ok in this step we have to configure Firefox in order to use the Tor network.

Open Firefox and go to Open menu --> Preferences --> Advanced --> Network and click on Connection settings. At the window that will appear set:

Manual configuration proxy:

--> HTTP Proxy: 127.0.0.1 port 9150

--> SOCKS hos: t127.0.0.1 port 9050.

Also the Not proxy for should be blank.

Start Tor As Client

torclient.png
torclient2.png
torbrowser.png

Till now we have installed Tor, configured Firefox to use Tor and our final step is to start the service.

Open a terminal and type cd tor-0.3.1.9.Now you are inside the Tor folder type the simple command src/or/tor and you will see the client to establish a Tor circuit at 127.0.0.1:9050. 9050 is the localhost port for SOCKS directly and 9150 port is for Browsing

Now open FIrefox and type https://check.torproject.org

Safe Browsing

Affidavit-shows-the-FBI-hosted-23-Tor-child-pornography-sites.jpg

With this 5 steps we manage to set our Raspberry Pi 3 to use Tor and all the benefits of its network. I am not an expert about Tor and i cant tell you the differences between Tor Browser and Firefox using Tor proxy. But with these few steps you can Anonymously browse the Internet.

In order to have Anonymity in the Internet you have to follow additional steps.Like not opening PDF or word files over Tor, don't torrent over Tor etc.

Read more:

1.https://www.torproject.org/about/overview.html.en

2.https://www.torproject.org/docs/tor-doc-unix.html....

3.https://lifehacker.com/how-can-i-stay-anonymous-wi...