[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-talk] Problem with TransPort etc.



Basically what you have done by using DNAT is changed the destination ip and port for any outbound traffic to be the tor service on the server. By doing so the traffic no longer contains the original destination ip and port so tor has no idea what to do with it. What you need to do is direct the traffic to tor, while leaving the original destination intact.

There is a tutorial on how to do this at https://trac.torproject.org/projects/tor/wiki/doc/TransparentProxy

-Pascal


On 4/21/2012 11:17 AM, Anders Andersson wrote:
On my client machine, I have created a user called 'torvm'. I have added
these two iptables rules:
# iptables -A OUTPUT -t nat -p tcp -m owner â-uid-owner torvm -j DNAT --to
10.x.x.x:19050
# iptables -A OUTPUT -t nat -p udp --dport 53 -mowner --uid-owner torvm -j
DNAT --to 10.x.x.x:19053
_______________________________________________
tor-talk mailing list
tor-talk@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk