At work, I have a proxy set on many files/applications.
In /apt/apt/apt.conf
I have Acquire::http::Proxy "http://myproxy.example.com:8888"
set.
In /etc/wgetrc
I have:
https_proxy = myproxy.example.com:8888
http_proxy = myproxy.example.com:8888
ftp_proxy = myproxy.example.com:8888
use_proxy = on
In /etc/environment
I have:
http_proxy="http://myproxy.example.com:8888"
https_proxy="https://myproxy.example.com:8888"
And in my network and proxy settings
I have HTTP
, Secure HTTP
, FTP
proxies set up as well.
So as you can see, I have proxies set up just about everywhere!
When I'm at home though, this all becomes an annoyance, because I have the go into every file and comment out the proxy settings. Do you know of an app/script to quick disable the proxy settings in all of these files and then quickly re-enable all of them?
Furthermore, do I need to have all these proxy settings in all of these files, could I reduce them?