Saturday, 17 June 2017

Tor Web-Station


Stay private online by routing all your web traffic through Tor  on your Raspberry Pi


In a much more privacy focused world, being able to browse securely online is an important freedom for many people. 
With the use of Tor and a few tweaks to the Raspberry Pi, you can make sure all your internet traffic is kept 
private. First of all, you’ll need to make sure to install Tor from the repos. Open up the LXTerminal and 
simply type:

$ sudo apt-get install tor

Once that’s done, edit the torrc file by using sudo nano /etc/tor/torrc and add this to the top of the file:

VirtualAddrNetworkIPv4 10.192.0.0/10
AutomapHostsOnResolve 1
TransPort 9040
DNSPort 53




Save this and then open the next file with sudo nano /etc/resolv.conf file and modify it:
nameserver 127.0.0.1

Finally, you need to change the iptables ruleset, but beforeyou do this, use top to confirm the uid of Tor and make a note of it. Now open up a new file with nano /etc/init.d/iptables and    enter the code found at:content/uploads/2014/08/tor.zip. Now save it and enter:

$ chmod 755 /etc/init.d/iptables
$ update-rc.d iptables defaults 12

Put ’em together

A secure wireless connectioncan be created using the RaspberryPi by looking at the OnionPi Project from Adafruit: learn.adafruit.com/onion-pi/overviewThis creates a Wireless access Point connected To the internet that Anonymises all web traffic by directing it through the Tor network. This means al l your Home computers and Smart devices can be Connected to Tor and Not just theRaspberry Pi itself. 

No comments:

Post a Comment