Eng
  • Eng
  • Rus
  • Ukr

Setting up a proxy in Ubuntu

Ubuntu is an operating system built on the Debian GNU / Linux kernel. It is the most popular Linux distribution for web servers. The OS is suitable for both powerful workstations and weak laptops and netbooks. Server versions and versions of the Live CD format for launching from a CD are also presented. The system has an intuitive interface and many settings - including network settings, where you can configure proxies settings in Ubuntu.

Connecting a proxy in Ubuntu

There are two ways to configure a proxy server in the Ubuntu operating system - using the user GUI and by making changes to system files. Consider the first option.

Step 1. Go to the “Network - Proxy Server” menu in the system settings. A setup form with several fields will appear on the screen.

Step 2. Select the "Customize yourself" mode in the drop-down list. In this mode, proxy data is entered manually.

Step 3. Select the desired protocol, specify the proxy IP address and port. Click the "Apply System Wide" button.

Step 4. Reboot the operating system and check the IP address in any suitable service. If it changes, then you started using Ubuntu through a proxy.

If you work with traffic arbitrage, Indigo Browser with proxies will be an indispensable assistant for you.

Instructions for setting up a proxy through the Ubuntu command line

This configuration option will allow you to connect the Ubuntu proxy with authorization by login and password:

Step 1. Open a terminal and enter the command sudo nano / etc / environment. Enter the password for the root user (superuser). This will open the / etc / environment file for editing.

Step 2. Go down to the bottom of the file and write the lines for each protocol (or for one):

  • https_proxy=«https://login:password@IP:port/»
  • http_proxy=«http://login:password@IP:port/»
  • ftp_proxy=«ftp://login:password@IP:port/»
  • socks_proxy=«socks://login:password@IP:port/»

Restart your computer and check the current IP address. If you plan to use proxies for surfing, configure the HTTP and HTTPS protocols.

Disabling proxies in Ubuntu

To disable the proxy in graphical mode, take 4 simple steps:

  1. Open the system settings.
  2. Go to the “Network - Proxy Server” menu.
  3. Choose "None" from the drop-down list to deactivate the proxy server on Ubuntu.

    I1V8l23U.jpg

  4. Reboot the computer.

When working through the terminal, open the / etc / environment file and delete the lines entered there above. After uninstalling, restart your computer.

As you can see, in the Ubuntu operating system, setting up a proxy takes only a few minutes. We recommend that you do not connect free public proxies. They are not stable and not reliable. It is better to prefer a paid private Ubuntu proxy.