Chaos Computer Club Lëtzebuerg

“Chaos in the world brings uneasiness, but it also allows the opportunity for creativity and growth.” -- Tom Barret

User Tools

Site Tools


Tor Project

A Pi a day, keeps censorship away

You would like to support human rights? Then please follow the how-to.

Note: We assume you have a new working Arch Linux running on your RaspberryPi.


First we have to install all the packages which are needed & useful to us.

root@pi# pacman -Syyu
root@pi# pacman -S base-devel vim tor ntp tor vnstat sudo

After that we should create us an own user account with sudo privileges.

root@pi# useradd -m -s /bin/bash YOUR_USERNAME
root@pi# vimsudo /etc/sudoers

Now, we install yaourt in order to fetch and install packages from the AUR.

root@pi# su YOUR_USERNAME
root@pi# wget
root@pi# tar xfv yaourt.tar.gz
root@pi# cd yaourt
root@pi# makepkg -si
root@pi# cd ~/
root@pi# rm -r yaourt*
root@pi# yaourt -Syua
root@pi# yaourt -S arm

In order to integrate tor into systemd, we need to write a -n own service file, which ensures fast, easy usage and the guarantuee that at every boot tor will be started along.

root@pi# cd /etc/systemd/system
root@pi# vim tor.service

Description=Starting Tor Service

ExecStart=/usr/bin/tor -f /etc/tor/torrc

root@pi# vim ntp-once.service


After this, we finally attack the most important part: Tor configuration.

root@pi# cd /etc/tor/
root@pi# mv torrc torrc.original
root@pi# vim torrc

ORPort 443
Log notice file /var/log/tor/notices.log
RelayBandwidthRate 100 KB  # Throttle traffic to 100KB/s (800Kbps)
RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)

#AccountingStart day 00:00
#AccountingMax 8 GB
SocksPort 0
BridgeRelay 1
Exitpolicy reject *:*

Up & Run!

Either type:

root@pi# systemctl start tor

or simply boot up your device.



projects/howtos/tor.txt · Last modified: 2015/07/15 21:54 (external edit)