Datasheet
Let's edit the host access point so it is called something memorable like Onion Pi - don't forget to set a good
password, don't use the default here!
sudo nano /etc/hostapd/hostapd.conf
(Don't forget to do the AP setup step in "Preparation" before this!)
Time to change our ip routing tables so that connections via the wifi interface (wlan0) will be routed through the tor
software.
Type the following to flush the old rules from the ip NAT table
sudo iptables -F
sudo iptables -t nat -F
If you want to be able to ssh to your Pi after this, you'll need to add an exception for port 22 like this (not shown in the
screenshot below)
© Adafruit Industries https://learn.adafruit.com/onion-pi Page 10 of 16