Would you like to learn how to configure the Ubuntu to use Proxy Authentication? This tutorial will teach you how to configure the HTTP and HTTPS requests to use a local proxy using the command-line on a computer running Ubuntu Linux

• Ubuntu 18.04
• Ubuntu 19.10

Ubuntu Playlist:

On this page, we offer quick access to a list of videos related to Ubuntu Linux.

Don’t forget to subscribe to our youtube channel named FKIT.

Ubuntu Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Ubuntu linux.

Tutorial Ubuntu – Configure the Proxy Authentication

Create the configuration file inside the /etc/profile.d directory.

Copy to Clipboard

Here is the file content:

Copy to Clipboard

In our example, Ubuntu will use the proxy server 192.168.0.10 and its port 3128.

In our example, Ubuntu will use the usename gohan and the password mypass123 to authenticate.

When you reboot your computer the system will automatically use the Proxy configuration.

Copy to Clipboard

If you don’t want to reboot your computer, use the source command to enable the proxy configuration.

Copy to Clipboard

Congratulations! You configured the Ubuntu proxy authentication successfully.