[tor-talk] Problem with TransPort etc.

Pascal Pascal666 at Users.SourceForge.Net
Sat Apr 21 17:23:27 UTC 2012

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 


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

More information about the tor-talk mailing list