Skip to content

πŸš€ 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!

License

Notifications You must be signed in to change notification settings

kavishkafx/Proxy_Change

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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:

chmod +x set_proxy.sh

Linux Proxy Setup

About

πŸš€ 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!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages