Those of us who are users of Xfce we know this excellent and minimalist Desktop Environment he doesn't have the same option as his older brother Gnome, to put a Global Proxy in the system.
This results in that if we use Chromium (which uses the proxy of Gnome) We should declare manually what is the proxy to use in Xfce. Well, I have already found the solution for this and it is the following.
First we edit the file / etc / environment and we put this inside:
# Proxy Global
http_proxy="http://10.10.0.5:3128"
https_proxy="http://10.10.0.5:3128"
ftp_proxy="http://10.10.0.5:3128"
no_proxy="10.10.0.0/24"
Where 10.10.0.5 is the IP of the proxy server. We save and edit the file / Etc / profile and we put at the end:
# Proxy Global
export http_proxy="http://10.10.0.5:3128"
export https_proxy="http://10.10.0.5:3128"
export ftp_proxy="http://10.10.0.5:3128"
export no_proxy="10.10.0.0/24"
We restart the equipment and we can now navigate with Chromium (for example).
9 comments, leave yours
Elav and this also works for Gnome? I have wanted to learn how to use proxy, but I am a basic user
Although Gnome has its own Global Proxy manager, yes, it is evident that it has to work because the variables are declared in files that affect the entire system 😀
Thanks Elav I'll try
I have two doubts that perhaps I will clarify by checking the blog a little more, but I will leave them here anyway. My objective is:
1-use Turpial behind a proxy, 2-but the proxy has authentication….
Could it be something like this ?:
http_proxy = »http: // user: password@10.10.0.5: 3128 ″
¿?
Ahhh, in Gnome
Exactly Nelson. In theory it should work that way.
A question, how can I add exceptions, an example I want to exclude a range of IP that is not mine, example 10.13.xx.xx I want to exclude those IPs, like a name * .company. * ………?
Excellent article (as we are used to from Linux)
I think I will publish it in other spaces (of course, identifying the source)
I work in a company where we have the output through a proxy and sometimes I need to set an "automatic" proxy and other times to go through a specific one. Would it be possible to change proxy without having to restart / log off the computer?