How to set up a proxy on Unix-like systems

Not all users of UNIX-like systems know how to set up connections through a proxy server. Therefore we have made for you the detailed instruction with screenshots on how to connect correctly a proxy in system Linux.

Let’s consider two ways of setting up a proxy server

Method 1

Open the “System Settings” menu in Linux and select “Network”.

How to set up a proxy on Unix-like systems

Next, in the menu that opens, select “Network proxy” on the right side of the window.

How to set up a proxy on Unix-like systems

In the “Method” line, select “Manual” and fill in the HTTP Proxy and HTTPS Proxy fields and then click “Apply system wide”.

Method 2

This includes editing the configuration file. To do this, open the /etc/environment file with root rights. You can open the configuration file with the command “sudo nano/etc/environment”. Next, enter the following settings at the bottom of the file:

” ftp_proxy=”ftp://proxy:port/” ”
” socks_proxy=”socks://proxy:port/”

Instead of proxy, we write the IP address of your proxy server. And instead of port – put the port of your proxy.

If the connection to the proxy is made through a login and password, then the strings should look like this:


Where instead of “user:pass” we write login and  password to connect to the proxy server.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)