Adapted from the original How to Make a Tor Router with the Raspberry Pi, I enumerated the procedure below within the markdown to create a Tor router for connection via Wi-Fi to encrypt web traffic and assigned IP-address. The Tor Project aims to create an encrypted and anonymous internet network. You can use this as a secondary network for more privacy or perhaps bring it on the road where permitted- think of it as privacy-protected hotspot.
sudo apt-get install ufw
sudo systemctl enable ssh
sudo systemctl start ssh
sudo ufw allow 22
sudo raspi-config
- Change wlan-option to host country (eg “United States of America”).
sudo apt update
mkdir ~/tor_wifi
cd ~/tor_wifi/
wget https://raspberry-pi.fr/download/tor_wifi/install_hotspot.sh -O install_hotspot.sh
chmod +x ./install_hotspot.sh
sudo ./install_hotspot.sh
- Do “Enter” to start the script.
- Type in the name you want to give to your Tor Wi-Fi network.
- Confirm the password.
- Restart pi.
cd ~/tor_wifi/
wget https://raspberry-pi.fr/download/tor_wifi/install_tor.sh -O install_tor.sh
chmod +x ./install_tor.sh
sudo ./install_tor.sh
- Again, press “Enter” to start the script, and all you have to do is wait. At the end of it, the Raspberry Pi will restart automatically.