S
S
seryakov2014-10-22 21:30:11
iptables
seryakov, 2014-10-22 21:30:11

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

1 answer(s)
B
brutal_lobster, 2014-10-23
@brutal_lobster

mitmproxy.org/doc/features/forwardproxy.html ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question