Make a Raspberry Pi into a Anonymizing ‘TOR’ Proxy!

Tor + Onion + Raspberry Pi
PDF24    Send article as PDF   

TOR: The Onion Router is software that enables you to use the internet anonymously. By setting up TOR on a Raspberry Pi you can create a network router that scrambles all of your internet connection.

Turning a Raspberry Pi into a TOR Router has suddenly become much more appealing with Governments changing laws enabling ISPs to track customer internet usage, and selling on the data to advertising companies.

Use a Raspberry Pi to set up a TOR Network Router. I choose a Raspberry Pi 3 specifically because it has built-in wireless networking (the Pi Zero W would work well in this regard too).

The Raspberry Pi connects to the TOR network. All you have to do is then connect the Raspberry Pi to your broadband network, and connect your device to the Raspberry Pi.

Initial Setup:

This tutorial assumes you have your Pi mostly set up and have followed the Raspberry Pi as a Hotspot/Access Point using ‘DHCP’ tutorial.

Please follow these tutorials in order to

Don’t forget to change the Default Password for the ‘Raspberry Pi’ account!!!

Then follow the Raspberry Pi as a Hotspot/Access Point using ‘DHCP’ to set up the Pi as a Wi-Fi Access Point Router.

When done, you should be able to connect to the Raspberry Pi as a WiFi access point and connect to the internet through it.

Tor Shell Script:

We’ll begin by updating the Raspberry Pi and then install the Onion Routing Software. Log into your Raspberry Pi by Ethernet or Console Cable and run.

To make the installation of Tor simple, lets make and run a Bash Script to do all the hard work and typing. Open up the Nano Editor and add the following code: sudo nano TorSetup.sh.

Make the Bash Script Executable: chmod u+x TorSetup.sh.

Run the Bash Script : sudo ./TorSetup.sh, and follow the Script’s Prompts.

Test It!

Okay, now the fun part! It’s time to test your TOR Anonymizing Proxy. On a computer, check out the available Wi-Fi Networks, you should see the Onion Pi network.

Connect to it using the password you entered into the hostapd configuration file.

raspberry_pi_connecting

You can open up a Terminal or command prompt and ping 192.168.42.1 to check that your connection to the Pi is working. However you won’t be able to ping outside of it because ping’s are not translated through the proxy.

To check that the proxy is working, visit a website like www.ipchicken.com which will display your IP address as it sees it and also the matching domain name if available. The IP address should not be from your internet provider – in fact, if you reload the page it should change!

raspberry_pi_ipchicken

BEFORE YOU START USING YOUR PROXY – remember that there are a lot of ways to identify you, even if your IP address is ‘randomized’. Delete your browser cache, history and cookies (some browsers allow “anonymous sessions”) and read www.torproject.org for a lot more information on how to use TOR in a smart and safe way.

Previous Post
Raspberry Pi as Wireless Access Point

Raspberry Pi as a Hotspot/Access Point using 'DHCP'

The Raspberry Pi can be used as a wireless access point, running a standalone network. This can be done using the inbuilt wireless features of the Raspberry Pi and even ... Read more

Next Post
Shutdown Button

Make a "Safe Shutdown" Button for Raspberry Pi

Pulling the power to your Raspberry Pi can cause image corruptions & other issues that can damage your Pi! In this article, we will create a small push button that ... Read more

Short URL: http://tinyurl.com/y6wlmnbx

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.



Do NOT follow this link or you will be banned from the site!