Answer the question
In order to leave comments, you need to log in
How to redirect part of outgoing traffic (http/https) of a process to a local proxy?
There is ubuntu server.
It spins: shadowsocks, mitmproxy
shadowsocks - proxy on which all traffic falls (tcp + udp)
mitmproxy - configured to analyze traffic and catch parts of interest (listens on port 8888)
The essence of the question is how to redirect traffic outgoing from shadowsocks http/https to local mitmproxy?
UPD1:
I did it under windows using proxifier and proxified the shadowsocks server in mitmproxy as an https proxy.
Everything works fine, but you need to do the same in linux.
UPD2:
It seems like the traffic was redirected using iptables, but mitmproxy does not want to work in transparent mode (does not do what it needs to).
Proxying the server does not work either using tsocks or proxychains.
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