Setup a proxy in Ubuntu OS
There are various ways of configuring Proxy settings on Ubuntu operating systems. The graphical interface can be used, or all settings are done on the command line. In this guide, we will consider both methods.
Set System Proxy on GUI
1. Go to “Show Applications” and type in “Settings”.
2. Click the “Settings” icon.
3. Click the Network tab.
3. Click the “Network Proxy” tab.
4. In the appropriate text fields, enter your proxy server’s hostname or IP address. Ensure you change the port number to match your proxy server’s, too.
Set System Proxy settings using CLI
Set proxy for APT package manager
Replace 10.0.0.226 with your proxy server IP address. If Authentication is required, use the following steps and type username and password.
Set Proxy for wget only
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.