Posts: 10
Joined: Mon Jun 17, 2019 5:06 am

Tor for Raspberry as standalone desktop, not router

Mon Jun 17, 2019 5:16 am

Hi, I'm trying to setup Tor. I have problems with iptables, Tor work only for client Wi-Fi devices, but I need for Raspberry as standalone too, I need use Raspberry as desktop, not as router.
I tried iptables like this:

sudo iptables -F && sudo iptables -t nat -F
sudo iptables -t nat -A PREROUTING -i wlan0 -p udp --dport 53 -j REDIRECT --to-ports 53
sudo iptables -t nat -A PREROUTING -i wlan0 -p tcp --syn -j REDIRECT --to-ports 9040

it does not work for Raspberry "inside", please help me to fix that.

It would be perfect to setup Raspberry+Tor as standalone and as router at the same time

Return to “Networking and servers”