master
Raw Download raw file
  1<?xml version="1.0" encoding="utf-8"?>
  2<feed xmlns="http://www.w3.org/2005/Atom">
  3
  4  <title><![CDATA[Category: EFF | BryFry]]></title>
  5  <link href="http://bryfry.github.com/blog/categories/eff/atom.xml" rel="self"/>
  6  <link href="http://bryfry.github.com/"/>
  7  <updated>2013-03-05T07:22:42-05:00</updated>
  8  <id>http://bryfry.github.com/</id>
  9  <author>
 10    <name><![CDATA[bryfry]]></name>
 11    
 12  </author>
 13  <generator uri="http://octopress.org/">Octopress</generator>
 14
 15  
 16  <entry>
 17    <title type="html"><![CDATA[EFF Tor Challenge + Amazon EC2 Free Usage Tier]]></title>
 18    <link href="http://bryfry.github.com/blog/2011/06/01/eff-tor-challenge-amazon-ec2-free-usage-tier/"/>
 19    <updated>2011-06-01T00:00:00-04:00</updated>
 20    <id>http://bryfry.github.com/blog/2011/06/01/eff-tor-challenge-amazon-ec2-free-usage-tier</id>
 21    <content type="html"><![CDATA[<p>Goal: Setup a Tor Node (Exit) on a <a href="http://aws.amazon.com/free/">Free Usage Tier</a> Amazon VPS Image (EC2).  This and easy and free way to join the EFF in their annonced <a href=”https://www.eff.org/torchallenge”>TOR Challenge</a>.</p>
 22
 23<p>What you'll need:</p>
 24
 25<ul>
 26<li>Amazon AWS Account</li>
 27<li>Some basic Linux know-how</li>
 28</ul>
 29
 30
 31<p>First setup your new instance with the below specs.  Check the <a href="https://help.ubuntu.com/community/EC2StartersGuide">EC2StarterGuide</a> and the <a href="http://cloud.ubuntu.com/ami/">Ubuntu Cloud AMI Finder</a> for help.</p>
 32
 33<p>AMI: Micro (free usage tier) - Ubuntu 10.10 - x86_64 - EBS - (ami-cef405a7)</p>
 34
 35<ul>
 36<li>Use the default Instance Properties</li>
 37<li>Create a new Key Pair</li>
 38<li>Create new Security Group (name it something recognizable, like tor)</li>
 39<li>Add SSH + 9001 ports to the security group.</li>
 40</ul>
 41
 42
 43<p>Now that the VPS is up and running login to it, run some updates, install and configure Tor.</p>
 44
 45<p>``` bash</p>
 46
 47<h1>replace with your new key name and ec2 address.</h1>
 48
 49<p>ssh -i yournewkey.pem ubuntu@ec2-xxx-xxx-xxx-xxx.yyyyyyyy.amazonaws.com
 50sudo apt-get update
 51sudo apt-get upgrade</p>
 52
 53<h1>add the tor project repository</h1>
 54
 55<p>sudo apt-add-repository \</p>
 56
 57<pre><code> 'deb http://deb.torproject.org/torproject.org maverick main'
 58</code></pre>
 59
 60<p>sudo apt-get update</p>
 61
 62<h1>install tor</h1>
 63
 64<p>sudo apt-get install tor tor-geoipdb</p>
 65
 66<h1>make a backup of the standard config file</h1>
 67
 68<p>sudo mv /etc/tor/torrc /etc/tor/torrc.bak
 69```</p>
 70
 71<p>Edit /etc/tor/torrc or create a new config from scratch and make it look like this</p>
 72
 73<p><code>text /etc/tor/torrc
 74SocksPort 0 # we are not going to make local connections, aka a simple relay
 75ORPort 9001 # what port to advertise for incoming Tor connections
 76Nickname xxxxxxxxxxxxx # Give your node a nickname for the EFF Tor Challange
 77BandwidthRate 300 KB
 78BandwidthBurst 350 KB
 79AccountingStart month 1 00:00
 80AccountingMax 3 GB
 81</code></p>
 82
 83<p>The last two lines of this is important.  We want to make sure our node does not use enough traffic to use up the entire allowed free bandwidth that a free image is allotted because then you will have to start paying for those bits.  You could up it to around 15 GB which is where you start paying but we can start low for now.  Finally, we can startup Tor.  I like to use screen to run it so startup a new screen and run tor.</p>
 84
 85<p><code>bash
 86screen -S tor
 87/usr/sbin/tor
 88</code></p>
 89
 90<p>Watch for errors, if none show up, head over to <a href="http://metrics.torproject.org/relay-search.html">http://metrics.torproject.org/relay-search.html</a> and after an hour or so you should be able to search for your node's nickname.</p>
 91
 92<p>When your done don't forget to submit your new node's nickname to the <a href="https://www.eff.org/torchallenge/report/">EFF's Tor Challenge</a>!</p>
 93
 94<p>Resources Used:</p>
 95
 96<ul>
 97<li><a href="https://www.eff.org/torchallenge">https://www.eff.org/torchallenge</a></li>
 98<li><a href="http://en.wikibooks.org/wiki/How_to_Protect_your_Internet_Anonymity_and_Privacy/Your_own_TOR_node_on_Amazon_EC2">http://en.wikibooks.org/wiki/How_to_Protect_your_Internet_Anonymity_and_Privacy</a></li>
 99<li><a href="http://cloud.ubuntu.com/ami/">http://cloud.ubuntu.com/ami/</a></li>
100<li><a href="https://help.ubuntu.com/community/EC2StartersGuide">https://help.ubuntu.com/community/EC2StartersGuide</a></li>
101<li><a href="http://aws.amazon.com/free/">http://aws.amazon.com/free/</a></li>
102</ul>
103
104]]></content>
105  </entry>
106  
107</feed>