mitm proxy
Instal mitmproxy
$ sudo apt install mitmproxy
Run mitmproxy. By default it listens on all interfaces (*) on port 8080
$ sudo mitmproxy
Run mitmproxy (web version)
$ sudo mitmweb
Browse to http://mitm.it on your client device
Install proxy root certificate
For iOS devices, you must visit http://mitm.it using Safari. Install the profile. Settings > General > mitmproxy > Install (and enter PIN).
iOS: Settings > General > About > Certificate Trust Cettings - Enable mitmproxy for full trust
Configure network settings
iOS: Settings > Wi-Fi > Select your network (select (i)) > Configure HTTP proxy > Manual;
Server = IP address of the host running mitmproxy (must be contactable) Port = 8080 (by default) Authentication = blank
Copy link