Proxy Traffic from laptop

Hello!

I have been using mitmproxy to proxy traffic from my mobile devices. I would also like to capture traffic leaving my laptop machine. Do I need a second machine for this or can I capture traffic from my machine using the same machine?

Thanks!

I know you can do this when running mitmproxy in non transparent mode e.g “mitmproxy–host”.

No iptable rules needed

Update web browser proxy settings to 127.0.0.1:8080

Any help to you?