52 views
No time to read?
We will send the article to your email.

How to set up a proxy on Linux

Why you should use a proxy for Linux

Every operating system has its vulnerabilities, and Linux is no exception. To ensure security and anonymity on the network, we recommend setting up a proxy. With proxy servers for Linux you will be able to:

  •     Hide your IP address to remain anonymous on the Internet.

  •     Protect your data on the device from leaks and hacks.

  •     Bypass regional and local restrictions, and avoid blocking online activity.

  •     Filter traffic from unnecessary ads and spam.

If you already have a reliable personal proxy, let's move on to setting it up. We'll show you how to set a proxy through the command line using environment variables.

Step-by-step proxy settings in Linux

    1. Open a command prompt on your device. To do this, enter “Terminal” in the system search.

    2. In the command line, enter the proxy server data in the following format:

You can enter several proxies of different types at once (HTTP, HTTPS, SOCKS, or FTP) or select one type.

    3. If you use free proxy servers without a username and password, then enter the data in this format:

    4. After that, close Terminal and reboot your device. After rebooting, your operating system will start working through proxy servers.

How to disable proxy in Linux

    1. To disable the proxy, you need to open the “Terminal” again and enter the following values:

  •     unset http_proxy

  •     unset https_proxy

  •     unset ftp_proxy

    2. Close the window and restart your device.


The proxy configuration is completed! This setup is suitable for any Linux-based operating system. This will help protect your data and device, and you will always remain anonymous online.



Want to tell the news or share an expert opinion?
Add comment:
No comments yet.