Set Linux Proxy Without Restarting System


I tried to change my proxy in my machine since in office they use proxy and I’m not using proxy at home. So everyday I come to the office and setup the proxy using this nice tools. Though it is good but it requires restart in order to get all proxies applied.

Basically I know that the way to set proxy in Linux is modifying /etc/environment and add http_proxy values (or https_proxy for ssl), and also add no_proxy if you want to bypass some host/IP’s. The ProxyMan tools which I’ve mentioned before is basically do the same thing, but in interactive way. But still, it requires restarts to apply it all.

What I want to ask is, can we apply changes of proxy settings without restarting the machine?