element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
BeagleBoard
  • Products
  • Dev Tools
  • Single-Board Computers
  • BeagleBoard
  • More
  • Cancel
BeagleBoard
Blog Tor relay running on BeagleBone Black
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join BeagleBoard to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fustini
  • Date Created: 12 Nov 2015 2:16 AM Date Created
  • Views 1267 views
  • Likes 2 likes
  • Comments 0 comments
  • debian
  • tor
  • beaglebone_black
  • open_source
  • oshw
  • bbb
  • BeagleBone
  • open_hardware
  • linux
Related
Recommended

Tor relay running on BeagleBone Black

fustini
fustini
12 Nov 2015


imageimageimage

My Tor relay running on a BeagleBone Black is even faster after upgrading to Debian 8 (Jessie) and TorProject.org tor 0.2.6 package for Jessie:

image


Thanks to Alison Macrina of the Library Freedom Project for the motivation to upgrade after watching her inspiring talk during the Aaron Swartz's Day 2015 celebration at Internet Archive last weekend:

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

A quick aside, if you've not seen this documentary about Aaron's life, then please be sure to watch it:

  • The Internet's Own Boy: The Story of Aaron Swartz


And... thanks to Comcast.  Despite their past sins, I've been able to run a Tor exit node (e.g. exit relay) via my cable modem connection for 1.5 years with no problems.  My connect is 50 Mbps down and 10 Mbps up.

 

My current Tor config

https://gist.github.com/pdp7/597d66f5178781eb5007


 

Previous version

My BBB had previously been running Debian 7 (Wheezy) for which TorProject.org package was 0.2.4.


Reduced Exit Policy

If you run a Tor exit node, then I recommend using this Reduced Exit Policy which will limit BitTorrent traffic (and thus DMCA complaints):

https://trac.torproject.org/projects/tor/wiki/doc/ReducedExitPolicy

 

Debian 8 image

My BeagleBone Black is running this Debian 8.2 (Jessie) image from Robert C Nelson listed on eLinux.org:

Jessie Snapshot console

Flasher: (console) (BeagleBone Black/Green eMMC):

wget https://rcn-ee.com/rootfs/bb.org/testing/2015-11-08/console/BBB-eMMC-flasher-debian-8.2-console-armhf-2015-11-08-2gb.img.xz

sha256sum: 3c489ef2d6809a7b50396d16770752a8c067478680946428d12a747bb8c4688f


Background:

I've not posted about my Tor relay on element14 Community before, so I figure I should provide some context.

 

Last year I did a presentation at my hackerspace about how to run a Tor relay on a BeagleBone Black:

 

  • NERP (embedded systems meetup) at Chicago hackerspace Pumping Station: One

 

If that Meetup link breaks over time, then here is a GitHub Gist all my notes and links:

 

  • https://gist.github.com/pdp7/0d0dc761662a6060092f

 

I was inspired to run a Tor relay after watching these talks:

 

  • How governments have tried to block Tor [28C3] - YouTube

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

  • The Tor Network [30c3] (with Jacob Applebaum) - YouTube

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Tor for users

  • "Normal people use Tor"
  • Tor Browser Bundle
  • TOR FAQ

 

Talks by Josh Datko about Tor & BeagleBone

  • Tor on a BeagleBone Black: Low cost, low power, high freedom [PDF]

image

  • Josh Datko's HOPE X slides on Crypto for Maker (includes 1 year of running Tor relay on BBB)

image

 

Tor on BeagleBone blog posts:

  • Running a Tor Relay on the BeagleBone Black for about a year
  • BeagleBone Tor
  • Received my Tor t-shirt!
  • Hulu Blocks Tor
  • Hacker-in-Residence: BeagleBone Shields
    • New hacker-in-residence Josh Datko is joining us to work with the BeagleBone Black on internet privacy!

 

Run a your own Tor relay!

  • EFF Tor Challenge
  • Configuring a Tor relay on Debian/Ubuntu
  • How to Run a Secure Tor Server
  • Tor Blog: The lifecycle of a new relay
  • TOR FAQ: What bandwidth shaping options are available to Tor relays?
  • Legal FAQ
  • Abuse FAQ

 

Stats for my BeagleBone Black relay

  • Atlas
  • Globe
  • blutmagie.de


Notes for Tor Relay running as Exit Node

  • DO NOT RUN YOUR TOR RELAY AS AN EXIT NODE UNLESS YOU UNDERSTAND THE IMPLICATIONS
  • Exit Node with Reduced Exit policy
  • Tips for Running an Exit Node with Minimal Harassment

 

Not into running a Tor relay home?

  • use DigitalOcean!
  • $5/mo for a "droplet" which is a virtual private server
  • Choose Debian 8 for OS
  • Easy to install Tor via apt-get
  • My DigitalOcean non-exit tor relay config:

# file: /etc/tor/torrc

ORPort 443

Exitpolicy reject *:*

Nickname EFFisMyHero

ContactInfo pdp7pdp7 AT gmail dot com GPG: 0x84D44A9317F1138E

Log notice file /var/log/tor/notices.log

RelayBandwidthRate 1024 KB

RelayBandwidthBurst 1024 KB

MaxAdvertisedBandwidth 1024 KB

DisableDebuggerAttachment 0


Stats for my EFFisMyHero relay on DigitalOcean:

  • Atlas
  • Globe
  • blutmagie.de
  • Note: I have retired EFFisMyHero as of November 2015 and started a new relay called ThankYouEFF

 

Not into running your own Tor relay?

  • Donate to NoiseTor
  • Highest performing exit nodes (e.g. relays) in USA
  • Created by groovy folks at Noisebridge hackerspace in SF
  • I happily donate to it monthly!
  • Relay Stats
  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube