I'm looking to force some applications on my phone to use a proxy whose certificate is installed on my phone. Some applications (like Instagram, YouTube, etc.) are using this proxy and I can sniff the communication between my phone and the proxy.

To make this work, I need to use root permissions on my Android. I found an app that may help me do this, but I want to use the terminal to achieve this.

Any ideas that could help me would be appreciated.

  • IMHO your approach is wrong. You will never be able to force every app to use your proxy. Therefore use a separate network that is connected via transparent proxy to the Internet. Then you don't have to configure anything on the device.
    – Robert
    Commented May 24, 2019 at 9:14
  • @Robert thank you for your response. If I'm not dreadfully wrong the proxy that I am using uses a VPN to encrypt the data coming from my applications, the VPN then send those data to a VPN server that will decrypt them and finally transmit them to my server. So I already have a separate private network that is automatically created by the proxy. I'm trying this new approach because it was suggested here and it seems to be efficient.
    – yosra
    Commented May 24, 2019 at 9:23
  • Can be helpful: How to set up a socks5 with Android cli?. Commented Jun 18, 2019 at 2:29

1 Answer 1


HTTP Toolkit does this using an Android app that uses the VPN mechanism to proxy all traffic through your HTTP Toolkit server.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .