How to Setup a Proxy in Ubuntu

laptop 1512838 640

This brief tutorial shows students and new users how to setup a proxy in Ubuntu 20.04 | 18.04.

In some environments, before you can access Internet or external services you must use a proxy server. A proxy server is a network device that sits between your PC and the Internet or external resources.

This server makes requests for websites and services on behalf of your PC. A proxy server is usually installed to help save bandwidth, since frequently used resources are cached, protect computers from ads, malware and other harmful threats on the Internet.

They are commonly used in businesses that want to control what websites you can look at, prevent you from accessing the internet without logging in, or to do security checks on websites.

By default, Ubuntu is set to automatically detect proxy settings. However, this may not work all the time. To setup a proxy in Ubuntu follow the steps below.

First, go to the Ubuntu system menu and select Settings

ubuntu system menu settings

When the Settings pane opens, click on Network to open the panel.

ubuntu network

Select Network proxy from the list on the right.

Choose which proxy method you want to use from:

  • None – The applications will use a direct connection to fetch the content from the web.
  • Manual – For each proxied protocol, define the address of a proxy and port for the protocols. The protocols are HTTP, HTTPS, FTP and SOCKS.
  • Automatic – A URL pointing to a resource, which contains the appropriate configuration for your system.
ubuntu network proxy settings

That should do it. Now go and test your Internet connection to see if you can browse.

Applications that use the network connection will use your specified proxy settings.


This post showed you how to setup a proxy in Ubuntu 20.04 | 18.04. If you find any error above, please use the form below to report.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.