Full Name | GitHub | |
---|---|---|
Ariel Plasencia Díaz | arielplasencia00@gmial.com | ArielXL |
This is a script which configures removes the hassle of configuring proxy manually by supporting system wide proxy-configuration. It is kept as simple as possible. No extra library other than the one that comes with python3 is used.
Currently tested on ubuntu 14.04, 16.04, 18.04, 20.04.
There are four options:
- Set proxy : Takes input from the user and modifies the required files.
- Remove proxy : Remove any proxy settings if present in the files.
- View Proxy : Displays the current proxy settings if there are any.
- Restore default : Restores to the state before running this script for the first time.
chmod +x proxy.py
sudo ./proxy.py
Currently it modifies the following files
1)/etc/apt/apt.conf
2)/etc/environment
3)/etc/bash.bashrc