Step 1. Make sure the SOCKS tunnel on your work computer allows LAN connections so your iphone/ipod Touch can connect to it.
ssh -N -g -D 1080 [email protected]
Step 2. Create a text file and insert the following code:
function FindProxyForURL(url, host){ return "SOCKS 192.168.xx.xx:yyyy";}
Replace The X ' s with your IP and the Y's with the port used after the-d in your SSH command
Step 3. Save the text file as a Proxy auto-config (PAC) file to a Web accessible a . pac Extension.
If you ' re reading this chances is you know what to serve a file over HTTP on your work LAN, so I won ' t delve into that.
Step 4. Finally, on your iphone/ipod Touch, go to settings>wifI and click the blue arrow to the right of your work net Work. Scroll to the bottom, click Auto and type in the address to your PAC file (e.g. HTTP://192.168.XX.XX/MYSUPERSECRETPROXY.PA c).
iphone uses the SOCKS agent on your Mac