A
A
Alexander Shapoval2017-06-07 05:47:34
linux
Alexander Shapoval, 2017-06-07 05:47:34

How to set up a proxy?

Is there a way to use the network setting

To set up a proxy in Ubuntu, open System Preferences, go to Network. Select Network Proxy Service. Change the method to Manual and enter your proxy settings. The disadvantage of this setting is that if you have a proxy with authorization by login and password, then it is impossible to specify these data, and the proxy will not work.

Everything works as it should, but because of the minus written above, this method does not suit me. There is another one that I stumble upon everywhere and for some reason it works for others, but for some reason I don’t have to prescribe the settings in /etc/environment
You can also configure proxies at the system level through configuration files (True UNIX-way). To do this, you need to open the /etc/environment file for editing as root (for example, sudo nano /etc/environment). Add the following lines to the end of the file:
https_proxy=" https://user:[email protected]:port/ "
http_proxy=" http://user:[email protected]:port/ "
ftp_proxy=" ftp://user:[email protected] :port/ "
socks_proxy="socks://user:[email protected]:port/"

I registered the data there and nothing has changed, after the reboot too.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya, 2017-06-07
@nuBacuk

Alternatively, a graphical utility, gtk-proxy-config
https://launchpad.net/~fsnow/+archive/ubuntu/ppa/+...

P
Puma Thailand, 2017-06-07
@opium

Why the hell do you need a proxy on proxmox with authorization? Let it go without authorization or natom.

C
CityCat4, 2017-06-07
@CityCat4

Do you have access to proxy settings? Allocate an IP for yourself, skip it by authentication and forget about the login-password - all the same, specify them in the clear, and even so that they lie in the environment - this is a pipets as insecure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question