Answer the question
In order to leave comments, you need to log in
Redirecting pptp client traffic to tor, how?
There is a router configured according to the article https://habrahabr.ru/post/270657/.
In the same place the pptp server for external clients is lifted.
The goal is to allow vpn clients as well as local clients to access blocked resources or tor domain names.
Local clients are now accessed by 3 three iptables rules:
iptables -t nat -I PREROUTING -i br0 -p tcp -m set --match-set rublack-dns dst -j REDIRECT --to-ports 9040
iptables -t nat -I PREROUTING -i br0 -p tcp -m set --match-set rublack-ip dst -j REDIRECT --to-ports 9040
iptables -t nat -I PREROUTING -i br0 -p tcp -m set --match-set onion dst -j REDIRECT --to-ports 9040
An attempt to replace br0 with a ppp interface failed.
What to write in iptables?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question