How to change (jailbroken) iOS proxy settings via command line?
<p>When testing iOS app through external proxy, I find it inconvenient to switch proxy settings on and off (Settings -> WiFi -> .... -> HTTP PROXY). Moreover, turning proxy off wipes Server/Port settings so they need to be configured again when enabling proxy back.</p>

<p>I would like to have a small shell script that will just enable/disable proxy, so I could switch it with just one command via SSH. </p>

<p>Any hints where the network and proxy configuration is stored in the filesystem? Any command line utilities capable of modifying it?</p>