For some time I thought redirection was broken in iptables. The redirection rules shown in numerous iptables rulesets for Tor failed to ever work under any conditions; the implication s that a terminal application within the same namespace, providing it is protocol compatible, should redirect through an available running Tor service given NAT redirection to socks or transport for TCP traffic. This fails.

Then I tested redirection for TCP using echoping, and found it working fine. IPtables, flushed of bytes to zero, shows echoping's packets at NAT rule and arriving at port in filter rules.

So why does redirection fail under Tor?

  • Can you add more information to describe exactly how you have things set up? For example, how did you set up your transparent proxy? What iptables rules are you using? Etc. – Steve Jul 25 '20 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.