Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

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

Is there a way to automatically set proxy settings based on which wifi network you are connected to?

share|improve this question

You might want to check out transparent proxying. Its very convenient.

Transparent proxying

share|improve this answer
Thanks. I'm already using a local proxy server to handle CNTLM (Microsoft) authentication for me. But I still need a way to enable and disable the proxy automatically depending on whether I'm on campus or not (my University uses a proxy server for all internet traffic). I'm not sure how a transparent proxy would help me solve this problem. It would need to change its upstream proxy based on the wifi network I'm connected to. – Eduard Grebe Jun 19 '12 at 9:43

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.