Repo to configure iOS to use SSH tunnel
Need something like vSSH to open the tunnel (dynamic port forward).
Then in the wifi settings use auto proxy with https://raw.githubusercontent.com/sachabrants/proxy/master/proxy.pac
More detail here: http://www.quxisto.com/2013/feb/10/secure-public-wi-fi-from-your-iPad/