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