Senior Engineering Manager
Couple of weeks back , I read about the tor project on hacker news giving out free T-shirts to owner of Tor nodes who advertise more than 50Kbps Bandwidth.
Now I wanted the t-shirt plus I had used tor client to use the services normally not available in geographic location I am in and for some blocked videos, Indian sites pretending to be overloaded, to file income-tax return on last day, hubba hubba….
My london linode just hosts 3 websites, 2 of them are static and the remaining one has barely any traffic. But its a 20USD VPS with 2GB bandwidth. So I said why not.
Here are the steps to get your tor node working on ubuntu 12.04 in 5 minutes. You can get the instructions from https://www.torproject.org/docs/debian
3. Add the gpg key which will be used to verify the signature on tor packages
gpg --keyserver keys.gnupg.net --recv 886DDD89
gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -
5. Install Tor and arm( good utility to monitor tor)
apt-get install tor arm
6. Now the most difficult part . Configure torrc file located at /etc/tor/torrc
There are a lot of settings. I am covering the very basic ones that will control your bandwidth, and make you popular among your peers ☺. Carefully monitor your bandwidth and burst bandwidth otherwise it will slow all the network traffic on your server. Also be wary of small b and Big B which are bits and Bytes respecitvely.
ORPort 9001 # this is the port which tor uses for communication
Nickname slntor # nickname for tor node
RelayBandwidthRate 50 KB # relay bandwidth cap
RelayBandwidthBurst 100 KB # burst is allowed
AccountingStart day 00:00
AccountingMax 5 GB # allowe upto 5 GB where a day starts from 00:00
ContactInfo SA [email protected]
ExitPolicy reject *:* # no exits allowed
DirPort 9030 # what port to advertise for directory connections
7. Start tor service : service tor restart
Tor exit nodes are nodes which terminate the traffic to a user/server. Tor exit node is controversial topic. Different regions and states have diffrent laws guiding the usage. My tor node isn’t an exit node. You can read dozens of articles online sharing their findings and decide accordingly what the practice is in your state.
My personal Tor node : https://globe.torproject.org/#/relay/0F3F06C0309E401D3F64BED8C275AC4CFCFE6FEE
Create your free account to unlock your custom reading experience.