Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Note: although iOS is technically for "cell phones" which aren't permitted on SU, this questions seems is technical and not about regular usage, that I consider it computer software.

I'd like to have the traffic of both Safari and apps routed through a remote linux server. I thought I would use the terminal app (obviously, the iDevice is jailbroken) to create a local SOCKS proxy with "ssh -D" to open a secure tunnel to the server.

How would I go about changing the global proxy settings to use the localhost proxy?

Any other ideas on achieving the same effect are most welcome.

share|improve this question
up vote 2 down vote accepted

This would be purely theory since I've never tried it myself but what about setting up a proxy auto-config (.pac) file for iOS that you have stored on your local filesystem. And then you can reference that file through the Settings on your iOS.

I dug up this old link which details how to do it if the .pac file is stored on a shared location on the network but it could easily be modified to point to a local file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.