I'm using my laptop in different offices, and whenever I switch locations I have to re-set the http proxy for wget, firefox, apt, etc...
Is there a way to do this automatically based on the local IP address I get? Fortunately these are from different subnets, so rules could be set up like that.
Another possibility would be to set up a local proxy on my laptop, and set it as the proxy. Then again the question is, how to have this proxy reconfigured automatically based on the IP address.