In a topology like:
phone --> proxy (man in the middle) --> server
Where the proxy is supposed to capture the packets that are sent from my phone, which I would like to visualize on Wireshark, what are the possible reasons for the proxy to not intercept the packets?
By the way, I've installed on my phone a certificate that the proxy trusts.
My proxy is listening at port 8080 by default, so I redirected the traffic coming from ports 80 and 443 to 8080.
I've tried this with mitmproxy and charles but none of them intercepts the packets. They enable me to intercept browser traffic and the traffic coming from applications like Instagram, WhatsApp... but not the traffic coming from the application (on my phone) I am interested in. I am using an android device.
It's been more than 2 weeks that I am trying to solve this problem or just understand why is it happening? Thank you.