

Scroll to the bottom, click Auto and type in the address to your PAC file (e.g.
#SHADOWSOCKS IOS HOW TO#
If you're reading this chances are you know how to serve a file over HTTP on your work LAN, so I won't delve into that.įinally, on your iPhone/iPod Touch, go to Settings → Wi-Fi and click the blue arrow to the right of your work network. Save the text file as a Proxy Auto-Config (PAC) file to a web accessible place with a. Replace the x's with your IP and the y's with the port you used after the -D in your SSH command ssh -N -g -D 1080 a text file and insert the following code: function FindProxyForURL(url, host) Make sure the SOCKS tunnel on your work computer allows LAN connections so your iPhone/iPod Touch can connect to it. This is actually pretty easy to accomplish.

Let's say, perhaps, that you are already forwarding your web traffic through an SSH/SOCKS tunnel at work (for privacy reasons) and you would like to use that same tunnel on your iPhone/iPod Touch. Darn you Apple, is it so hard to put a SOCKS Proxy setting in the iPhone OS network settings panel?Īnyway, the best answer so far, and the only one I could find on the Net, is from a document from the SNIPPLR Code 2.0 website entitled How To Connect To A SOCKS Proxy From An Unjailbroken iPhone/iPod Touch.īelow is a cleaned up version of their solution:

Well I guess, there's no better way to do it.
