hello i have a tiny problem, i followd some tutorials, everything is working over the created wlan hotspot but i want change it thaht everything will goes over Lan, like the Raspi act as normal Router(i add the ip in the network settings of the device i want tunnel), i have no problem doing this with openvpn but on tor i failed
i tryt to change my currently comands to Eth0 but after i cant login to pi, so its seems not working
-A PREROUTING -i wlan0 -p tcp -m tcp --dport 22 -j REDIRECT --to-ports 22
-A PREROUTING -i wlan0 -p udp -m udp --dport 53 -j REDIRECT --to-ports 53
-A PREROUTING -i wlan0 -p tcp -m tcp --tcp-flags FIN,SYN,RST,ACK SYN -j REDIRECT --to-ports 9040
so my target is
Device->my local home network-> Raspberry in over eth0 -> Tor tunnel -> go out over eth0