Set proxy in Ubuntu 18.04 operating system.

Rajat Sharma
3 min readApr 2, 2019

--

If you are using an authenticated network like college wifi and lan network and struggling setting proxy on your system, then you are at the right place. You won’t be able to update the system or download any software from Ubuntu Software Center. So, perform the following steps:

  • Open the firefox browser and click on Options/Preferences.
  • Scroll down to the bottom, you will find Network Settings. Click on Settings…
  • Set the IP address and Port number as shown. Then click OK
  • Now, you will be asked to enter your username and password.
  • Now, Go to this page and download the zip file
  • select the zipped file and press the Menu button (on right of right alt button). Then, click on Extract Here

Enter into the folder and press Menu button. Now, select Open in Terminal. A terminal will pop-up. In the terminal, do the following steps:

  • run command chmod +x proxy.py
  • then run sudo ./proxy.py
  • it will show you some option, enter Choice 1
  • now, enter ip address, port number, username and password and press enter

It will show you DONE! message. Now, you are ready to update the system.

It’s done, now you can install anything from command line or ubuntu software center using your college wifi.

Credits: Nityananda Gohain and Adirtha Borgohain for creating such an amazing repository.

If you came across any issue and problems then comment down here. I will try to resolve that.

--

--