How to Set up a Residential Proxy on Linux

Learn how to set up a proxy on your Linux device with these simple instructions

Avoid geoblocks, never get flagged and hide your IP. Contact us at [email protected]

Linux proxy settings:


Linux offers a variety of distributions for people interested in alternative OS. Unfortunately, it would be impossible to cover the setup on all of them. The guide below should provide a good understanding of system-wide proxy setup.
  • Open Terminal.
  • Smartproxy proxy settings on Linux
  • Sign in as a root user.
  • Smartproxy proxy settings on Linux
  • Open /etc/environment file with nano.
  • Smartproxy proxy settings on Linux
  • You should now be presented with a text editor window. Configure your proxy:
  • http_proxy="http://gate.smartproxy.com:7000" https_proxy="http://gate.smartproxy.com:7000" no_proxy="localhost"

  • You can select any other endpoint from the available list. If needed username:password authentication is also available via http://username:[email protected]:7000.
  • Smartproxy proxy settings on Linux
  • To finish editing selected file hit CTRL + X, then enter Y to save changes and confirm the file location by clicking ENTER.
  • Smartproxy proxy settings on Linux
  • Finish up by locking the file and rebooting your your computer. Proxy changes may disappear if you will skip this step. To lock the file, enter chattr +i /etc/environment. To unlock it later on, you can use the -i flag instead.
  • Smartproxy proxy settings on Linux







Choose residential proxies:


with smartproxy get benefits

Never get flagged

Avoid getting detected by using our vast pool of residential exit nodes.

smartproxy benefits

Unlimited connections

Use an unlimited number of connections, threads and countries at once.

smartproxy features

City and Country level targeting

Use residential IPs from as many countries or cities as you like. Change locations as often as needed.

smartproxy support 24 7

24/7 Customer Support

Experienced 24/7 online technical support with the average response time of 5 minutes. Email us or chat with us at any time.