Answer the question
In order to leave comments, you need to log in
How to configure iptables to properly forward to a Dansguardian port?
Debian 7 has mitmproxy installed as http(s) proxy.
In rc.local:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 8080
How can I get traffic from the proxy and send it to Dansguardian on port 3129?
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