Answer the question
In order to leave comments, you need to log in
How to route layer-7 traffic in linux?
There was a problem with DNS when using TOR, outside the Russian Federation.
It turned out that Tor's dns can't work with SRV records!
Because of this, protocols such as xmpp do not work.
The problem was temporarily solved by this design
iptables -t nat -A PREROUTING -i $_input_ -p udp --dport 53 -j DNAT --to 8.8.8.8:53
Answer the question
In order to leave comments, you need to log in
To avoid leakage of DNS requests, use https://dnscrypt.org/
Because in your version, non-encrypted traffic going to Google may well be intercepted and substituted by a malicious provider.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question