Install mitmproxy on Ubuntu

mitmproxy is a man in the middle proxy server for debugging.


To install mitmproxy on Ubuntu, run

On Ubuntu 18.04, this is broken. To insall i created a virtualenv

Install mitmproxy inside virtualenv with

To start, run

This will listen proxy on port 8080, you can verify with command

If you get error like


To configure in browser, you can use it as HTTP proxy. Here is how i configure it on Firefox FoxyProxy.

Add a Comment

Your email address will not be published. Required fields are marked *