I'm trying to look at http traffic leaving my device that is destined for a web proxy (port 8080), that I'm hosting on vps I own.
I've tried running using the standard prerouting rule to take port 8080 and redirect it 9090 but mitmproxy doesn't like it. I get absolute warnings when expecting relative.
I saw a number of years ago there was mode called "--spoof" and the original person who came up with it shared a diagram of what they wanted to achieve and it looks remarkably similar. https://github.com/mitmproxy/mitmproxy/pull/638
The mode was removed not long after it was merged.
Suppose my ask here does mitmproxy have a mode where it will act as the proxy the traffic is destined for?