How to use mitmproxy in android system wide?

Hi there,

I want to debug a MQTT app and MQTT protocol doesn’t follow the proxy set in network section of the android device. How do you guys do such a thing in android ? Is there any app that creates a VPN connection out of a proxy ? Something like ssh tunneling but without any ssh just a socks5 proxy to tunnel phone through ?

Thanks in advance

Look into Drony -
I’ll force everything into a proxy, even the traffic that doesn’t respect the OS setting.