You are on page 1of 8

Protect Your Privacy with a Onion Pi | Make:

http://makezine.com/projects/make-36-boards/h...

Make: Gift Guide - What are you getting for the makers in your life?

MAKE: PROJECTS

How to Bake an OnionPi


By Phillip Torrone and Limor Fried Difculty: Moderate

141

73

62

27

Feel like someone is snooping on you? Browse the web

1 de 8

08/12/16 20:05

Protect Your Privacy with a Onion Pi | Make:

http://makezine.com/projects/make-36-boards/h...

anonymously anywhere you go with the Onion Pi Tor proxy. This


is a cool weekend project that uses a Raspberry Pi mini
computer, USB wi- adapter, and Ethernet cable to create a small,
low-power, and portable privacy Pi.
Using it is easy-as-pie. First, plug the Ethernet cable into any
internet connection in your home, work, hotel, or
conference/event. Next, power up the Pi with the Micro-USB
cable connected to your laptop, or with a wall adapter. The Pi will
boot up and create a new secure wireless access point.
Connecting to that access point will then automatically route any
web browsing from your computer through the anonymizing Tor
network. Your tracks are swept clean.

What Is Tor?
Tor is an onion routingservice: Internet trafc is wrapped in
layers of encryption and sent through a random circuit of relays
before reaching its destination. This makes it much harder for

141

73

62

27

the server youre accessing (or anyone snooping on your internet


use) to gure out who and where you are. Its an excellent way for
people who are blocked from accessing websites to get around
those restrictions. Journalists, activists, businesspeople, law
enforcement agents, and even military intelligence operatives
use Tor to protect their privacy and security online.

Why Use a Proxy?


You may have a guest or friend who wants to use Tor but doesnt
have the ability or time to set it up on their computer. You may
not want to, or may not be able to, install Tor on your work laptop
or loaner computer. You may want to browse anonymously on a
netbook, tablet, phone, or other mobile or console device that
cannot run Tor and does not have an Ethernet connection. There
are lots of reasons you may want to build and use an Onion Pi,
2 de 8

08/12/16 20:05

Protect Your Privacy with a Onion Pi | Make:

http://makezine.com/projects/make-36-boards/h...

not least of which is that it is an interesting way to learn about


Raspberry Pi, network interfaces, and the Linux command line.

Warning
Before you start using your proxy, remember that there are a lot
of ways to identify you, even if your IP address is randomized.
So delete and block your browser cache, history, and cookies
some browsers even allow anonymous sessions. Do not log
into existing accounts with personally identifying information
(unless youre sure thats what you want to do). Use SSL

141

whenever available to encrypt your communication end-to-end.


And visit torproject.org for more info on how to use Tor in a
smart, safe way.

73

62

This tutorial is a great way to make something fun and useful


with your Raspberry Pi, but we cant guarantee its 100%

27

anonymous and secure. Be smart and paranoid about your Tor


usage.

PARTS / TOOLS
PARTS

RaspberryPiStarter Kit, (Option 1) #MSRPIK from Maker


Shed,makershed.com. Our kit isthe best way to get started using your
RaspberryPi. Includes RaspberryPiModel B, 4GB SD Card, 5V 2A
power supply, Micro-USB and HDMI cables, custom MAKE:Pienclosure,
Adafruits Cobbler GPIO (General Purpose Input/Output) breakout, a
breadboard for electronics prototyping, a selection of common
components, and a copy of our bestselling book,Getting Started with
RaspberryPi.
Mini USB wi- module, (Option 1) Maker Shed #MKAD55
OnionPiBundle (Tor Router) w/Mini Wi-Fi , (Option 2) Maker Shed
#MSBUN44. For more experienced users who want to build a dedicated
wireless Tor proxy. Includes RaspberryPiModel B, AdafruitPicase, Mini
USB WiFi module, 10 Ethernet cable, Micro-USB cable, 5V 1A power
supply, USB console cable, and 4GB SD card.

3 de 8

08/12/16 20:05

Protect Your Privacy with a Onion Pi | Make:

http://makezine.com/projects/make-36-boards/h...

Raspberry Pi Model B, (Option 3) Ethernet is required.


Raspberry Pi case, (Optional for Option 3)
USB wi- adapter, (Option 3) that supports the RTL8192CU chipset
Ethernet cable
SD card, (Option 3) 4GB or more

STEPS

141

73

Project Steps

62

1. Prepare your SD card.

27

2. Boot and congure.

3. Connect Ethernet/Wi-Fi.
4. Set up the PiFi access point.
5. Install Tor.
6. Browse anonymously.
7. Going Further

ADVERTISEMENT

Step #1: Prepare your SD card.

4 de 8

08/12/16 20:05

Protect Your Privacy with a Onion Pi | Make:

http://makezine.com/projects/make-36-boards/h...

141

73

62

27

NOTE: This tutorial assumes youll be using Raspbian, and may


not work exactly as written with other Linux distributions.
When you buy a Raspberry Pi, it may or may not come with an SD
card. The SD card is important because this is where Raspberry Pi
keeps its operating system and its also where youll store your
documents and programs. Even if your Pi came with an SD card
with the operating system already installed, its a good idea to
update it to the latest version, as improvements and bug xes are
going in all the time.
Experienced users have many options for preparing an SD card.
We recommend new users visit raspberrypi.org and follow the
instructions in their Quick Start Guide for formatting an SD card
and installing the ofcial New Out Of Box Software (NOOBS)
package. Briefly, the steps are:
Format the card. The Raspberry Pi Foundation recommends
using the SD card foundations ofcial formatting tool, SD
Formatter, which is available for Windows, Mac, and Linux. The

5 de 8

08/12/16 20:05

Protect Your Privacy with a Onion Pi | Make:

http://makezine.com/projects/make-36-boards/h...

settings may vary depending on your OS. Refer to the Quick


Start Guide for details.
Download NOOBS. You can get the .ZIP archive directly from
the Raspberry Pi website, one of several mirror servers, or
through BitTorrent.
Extract the NOOBS archive to your SD card. The contents of the
archive, including the le bootcode.bin and the images and
slides folders, should be in the top-level directory.

141

73

62

27

Phillip Torrone
3

Limor Fried
ADVERTISEMENT

6 de 8

08/12/16 20:05

Protect Your Privacy with a Onion Pi | Make:

http://makezine.com/projects/make-36-boards/h...

Featured Comment
sophiacamille

Mod

> AlETabooger a year ago

this project should now be updated with live assets and links!

Share

19 Comments

MAKE

Recommend

Share

Login

Sort by Best

Join the discussion

73

Jelimoore 2 years ago

Why does the RasPi say "[....]Starting advanced IEEE 802.11


management: hostapdioctl[SIOCSIWMODE]: Invalid Argument
failed!"
EDIT: Looking at that, the problem seems to be in the driver, mode, or
both!
Configuration file: /etc/hostapd/hostapd.conf
drv_>ifindex=3
I2_sock_recv==I2_sock_xmit=0x0x106e636
ioctl[SIOCSIWMODE]: Invalid argument
Could not set interface to mode(3)!
Could not set interface to master mode!
rt1871xdrv driver initalization failed.
6

141

62

27

Reply Share

Guest 2 years ago

How can I set this up so my pi connects to a wifi network but will


broadcast over ethernet? Kind of like the opposite of this tutorial?
2

Reply Share

Piznti 2 months ago

sudo unzip onionpi?

Reply Share
Kanyon Reams a year ago

http://cdn.makezine.com/make/p... gives me a 403 denied error

Reply Share
sophiacamille

7 de 8

Mod

> Kanyon Reams a year ago

08/12/16 20:05

Protect Your Privacy with a Onion Pi | Make:

http://makezine.com/projects/make-36-boards/h...

141

73

62

27

8 de 8

08/12/16 20:05

You might also like