How to make my proxy settings change depending on the network I connect to?
Posted
by
Little Jawa
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Little Jawa
Published on 2010-09-03T19:13:22Z
Indexed on
2011/01/06
18:58 UTC
Read the original article
Hit count: 176
networking
|system
My company's corporate network requires me to set a network proxy to access the net, but when I am anywhere else, I don't need it. The proxy settings in Ubuntu (System -> Preferences -> Proxy server) allowed me to create "locations" that I can manually select. Then I have a "default" location (with no proxy) and a "work" location (with my company's proxy in it).
Is there a way to make Ubuntu automatically select the "work" location based on the connection I'm using? I thought I could use the IP subnet (very specific) to detect where I am, but I have no idea how to set it up...
Edit: I really need to have the proxy settings set at the system level. All my network connections (IMAP, SMTP, chat, etc) need to go through the proxy. Not only the web browser.
© Ask Ubuntu or respective owner