Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itzkavishka/proxy_change
🚀 Simplify Proxy Setup on Debian-Based Linux! This script makes adding or changing proxy settings a breeze. Validate inputs, backup configs, and update settings in seconds. Say goodbye to manual configurations!
https://github.com/itzkavishka/proxy_change
debian-linux linux-proxy proxy-changer
Last synced: 3 months ago
JSON representation
🚀 Simplify Proxy Setup on Debian-Based Linux! This script makes adding or changing proxy settings a breeze. Validate inputs, backup configs, and update settings in seconds. Say goodbye to manual configurations!
- Host: GitHub
- URL: https://github.com/itzkavishka/proxy_change
- Owner: itzkavishka
- License: mit
- Created: 2023-10-06T05:49:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-21T05:03:58.000Z (7 months ago)
- Last Synced: 2024-10-12T17:42:11.473Z (3 months ago)
- Topics: debian-linux, linux-proxy, proxy-changer
- Language: Shell
- Homepage: https://itzkavishka.github.io
- Size: 1.32 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Proxy Setup Script for Debian-Based Linux Systems
This script allows users to easily add or change proxy settings on a Debian-based Linux system. It prompts the user for a proxy server IP address and port number, validates the inputs, and then updates the system's environment settings accordingly.
## Features
- Validates the provided IP address and port number.
- Backs up the existing `/etc/environment` file before making changes.
- Appends the new proxy settings to the `/etc/environment` file.
- User-friendly prompts and error messages.
- Clear instructions for the user to reboot or log out for the changes to take effect.## Prerequisites
- A Debian-based Linux distribution (e.g., Ubuntu, Debian).
- `bash` shell.
- `sudo` privileges to modify the `/etc/environment` file.## Usage
### Step 1: Download the Script
Save the script to a file, for example, `set_proxy.sh`.
### Step 2: Make the Script Executable
Open a terminal and run the following command to make the script executable:
```sh
chmod +x set_proxy.sh
```
![Linux Proxy Setup ](proxy_thumbnail.png)