Joined: 23 Oct 2016
|Posted: Sat Jul 06, 2019 13:19 Post subject: Firewall configuration - forward to proxy
I am trying to forward specific network traffic destined to a specified subnet to a proxy (Tor). Like described here https://wiki.dd-wrt.com/wiki/index.php/Tor_on_R7000 HOWEVER in my configuration the Tor application resides on a separate server and not on dd-wrt, so I configured the firewall like this:
|iptables -t nat -A PREROUTING -p tcp -d 10.192.0.0/16 -j DNAT --to 192.168.101.5:9040 |
However simply the traffic is sent out ot the internet gateway and not to the Proxy Server 192.168.101.5
I have simply no Idea anmore as to why. Anybody has an Idea what I am doing wrong?