title: How to redirect all applications traffic to proxy server using adb shell command?
body: <p><strong>Task</strong>: To divert all android device traffic(inc. all  apps) to a proxy server.</p>
  
  <p><strong>Method</strong>: Used adb shell command to setup proxy: "<strong>adb shell settings put global http_proxy proxy:port</strong>"</p>
  
  <p><strong>Issue</strong>: Not  all applications data is getting transferred via proxy.</p>
  
  <p><strong>Question</strong>: Why i am getting the above mentioned issue and is there any other way to setup proxy so that all traffic of android device will go  via that proxy?</p>
  
  <p><strong>Note</strong>: Please don't give suggestions about using VPN.</p>