Proxyset is a powerful proxy management tool designed primarily for Linux systems, with optimized support for Arch-based distributions. While intended to work across various Linux environments, full compatibility is not guaranteed for all distributions. Effortlessly configure, rollback, or monitor proxy configurations system-wide and for popular applications like Git, Pacman, and more.
🐧 Compatibility Note:
Best Performance: Arch Linux and Arch-based distributions Recommended: systemd-based Linux distributions Partial Support: Other Linux distributions may require system-specific adjustments
- Proxy Management: Set and manage system-wide and application-specific proxy settings.
- Rollback Capability: Easily remove all proxy configurations and restore defaults.
- Status Check: Display the current proxy setup for quick diagnostics.
- Cross-Application Support: Works with Git, NPM, Yarn, Pacman, and more.
- Silent & Transparent Operations: Configure silent mode and set up a transparent proxy.
- Bash (version 4.0 or higher)
sudo
privileges- Installed applications (optional):
- Git, Flatpak, NPM, Yarn
Clone the repository and make the script executable:
git clone https://github.com/mwarrc/proxyset.git
cd proxyset
chmod +x proxyset.sh
1.Clone the repository
git clone https://github.com/mwarrc/proxyset.git
cd proxyset
2.Create a symbolic link and make it executable:
sudo ln -s "$(pwd)/proxyset.sh" /usr/local/bin/proxyset
sudo chmod +x /usr/local/bin/proxyset
proxyset [command] [options]
set
: Configure and enable proxy settings.rollback
: Remove all proxy settings.status
: Show the current proxy configuration.
Option | Description |
---|---|
-h, --help |
Show the help message. |
-v, --version |
Display the version number. |
-s, --silent |
Run in silent mode. |
--no-reboot |
Skip reboot prompt after setting. |
- Set up a proxy with no reboot:
proxyset set --no-reboot
- Rollback all proxy settings:
proxyset rollback
- Display the current proxy configuration:
proxyset status
Proxyset modifies configurations for:
- Environment Variables:
/etc/environment
- Pacman:
/etc/pacman.conf
- Git: Global proxy settings
- NPM/Yarn: Proxy management
- System Proxies: GNOME and other supported environments
Backup files are automatically created during setup.
Contributions are welcome! Feel free to:
- Fork the repository.
- Create a new branch for your feature/bug fix.
- Submit a pull request.
- Add support for more applications.
- Enhance transparent proxy functionality.
- Create a GUI wrapper.
Let me know if you'd like me to tweak or add anything!