Be a part of the TOR network! This is a tutorial for a TOR middle relay server. NOT A EXIT NODE. Middle relay server just speed up the TOR netwerk. Your IP ADRESS will not show up as the source of the traffic.
First step, Update your pi:
sudo apt-get update
[ENTER]
sudo apt-get upgrade
[enter]
Step 2, make a new user named '"tor"
[ENTER]
sudo apt-get upgrade
[enter]
Step 2, make a new user named '"tor"
sudo adduser tor
[enter]Enter a secure password![enter]Enter the password again[enter]
[enter]Enter a secure password![enter]Enter the password again[enter]
Now press the enter key for a few times, the questions are stupid :)
Now we have to to add the tor user account to the list of sudoers:
sudo nano /etc/sudoers
[enter]
Add the following line at the bottom of the page: tor ALL=(ALL) ALL
[enter]
Add the following line at the bottom of the page: tor ALL=(ALL) ALL
control + x to close/save the file.
Step 3: Install TOR!
sudo apt-get install tor
[enter]sudo nano /etc/tor/torrc[enter]
[enter]sudo nano /etc/tor/torrc[enter]
Edit / change and uncomment (#) the following settings:
SocksPort 0
Log notice file /var/log/tor/notices.log
RunAsDaemon 1
ORPort 9001
DirPort 9030
ExitPolicy reject *:*
Nickname some-nickname-here (you can chose whatever you like)
RelayBandwidthRate 100 KB # Throttle traffic to 100KB/s (800Kbps)
RelayBandwidthBurst 200 KB # But allow bursts up to 200KB/s (1600Kbps)
Control + x to close / save the file.
Control + x to close / save the file.
Step 4:
Open port 9030 / 9001 in your modem/router/firewall. Otherwise there will be no connection.
Open port 9030 / 9001 in your modem/router/firewall. Otherwise there will be no connection.
Step5:
After changing the settings you have to restart TOR. Open a terminal and type:
After changing the settings you have to restart TOR. Open a terminal and type:
sudo /etc/init.d/tor restart
Open /var/log/tor/log, if the tor server works correct you will find a entry like:
"Tor has successfully opened a circuit. Looks like client functionality is working.
at the end."
"Tor has successfully opened a circuit. Looks like client functionality is working.
at the end."
Your Raspberry Pi TOR server is ready now!
Now you have the option to install a Tor monitor program to watch the status of your tor node.
(this is not a screenshot of my own tor server)
sudo apt-get install tor-arm
[enter]
[enter]
To start Tor-arm Use the following command:
sudo -u debian-tor arm
[enter]
No comments:
Post a Comment