In order to tunnel all iOS Internet traffic using SSH:
1. Get this app:
SSHTunnel (it's Free for 1 tunnel at time)
2. Create a tunnel with type "Dynamic" and local bind port
8089.
3. Create
config.pac file with content:
function FindProxyForURL(url, host) {
return "SOCKS 127.0.0.1:8089";
}
, where
8089 is a local tunnel port.
4. Put
config.pac file to the Dropbox and copy download link. Link must have the suffix "
dl=1".
5. Go to
Settings > General > Network > Wi-Fi and tap the blue arrow on the right side of the entry for your network. Scroll down to the "Proxy" section and tap "Auto". Enter the Dropbox URL.
6. Have FUN!