Linux

Linux comes in many distributions, so this guide focuses on a system-wide proxy setup that applies broadly across them.

Requirements

Before getting started, ensure that:

  • No other VPN or proxies are active.

  • You have your GoProxies endpoint ready, e.g. proxy.goproxies.com:1080

  • Your GoProxies subuser (also called API User) username and password.

Proxy Setup

  1. Open Terminal.

  2. Sign in as a root user.

  3. Open the /etc/environment file with nano.

  4. In the text editor, configure your proxy as follows:

http_proxy="http://proxy.goproxies.com:1080"
https_proxy="http://proxy.goproxies.com:1080"
no_proxy="localhost"
circle-info

If you need authentication, use the format http://username:[email protected]:1080. You can also target a specific country by appending -country-country_abbreviation to your username, e.g. customer-exampleuser-country-us, as covered in our proxy parameters articlearrow-up-right.

  1. Press CTRL + X, then Y to save, and ENTER to confirm the file location.

  2. Lock the file with chattr +i /etc/environment and reboot your machine. Skipping this step may cause your proxy settings to reset.

circle-info

To unlock the file later, use chattr -i /etc/environment.

Verify the Connection

Open a browser and go to ip.goproxies.comarrow-up-right. If the IP shown reflects your proxy location, you're all set.

Last updated

Was this helpful?