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

Without using third party software, is there a way to have Windows toggle your proxy settings on/off based on the wired/wireless connection you make?

I'm aware that I could create a registry script and run that each time to toggle the proxy settings but I'm more interested in something that would automatically trigger the proxy settings to change based on when a wired/wireless network connection was established.

share|improve this question
up vote 5 down vote accepted

You could try creating a proxy.pac file. Depending if you know both addresses (wired and wireless) you could try this:

function FindProxyForURL(url, host)
if (isInNet(myIpAddress(), "", "")) // Wired connection
return "PROXY";
if (isInNet(myIpAddress(), "", "")) // Wireless connection
return "PROXY";
return "DIRECT";

Then just point the browser to where you saved the proxy.pac file for the automatic configuration script.

I hope this helps.

share|improve this answer

Proxypal should work and there are a few Firefox extensions too.

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.