The mcproxy.sh
script is a simple shell script designed to manage HTTP and HTTPS proxy settings. It provides an interactive menu for users to set temporary or permanent proxy settings, clear existing proxy settings, or exit the script.
- Temporary Proxy: Set a temporary proxy for the current session.
- Permanent Proxy: Set a permanent proxy in your shell configuration file.
- Custom Proxy: Set custom proxy addresses for both temporary and permanent settings.
- Clear Proxy: Remove all proxy settings.
- A Unix-like system (Linux, macOS) with a shell environment (e.g., Bash, Zsh).
- Basic knowledge of shell commands.
- Clone the repository or download the
mcproxy.sh
script. - Make the script executable:
chmod +x mcproxy.sh
- Set Temporary Proxy: Set a temporary proxy using the default address (127.0.0.1:1082).
- Set Permanent Proxy: Set a permanent proxy in your shell configuration file (~/.bashrc by default).
- Set Custom Temporary Proxy: Set a custom temporary proxy address.
- Set Custom Permanent Proxy: Set a custom permanent proxy address.
- Clear Proxy Settings: Remove all proxy settings.
- Exit: Quit the script.
This project is open-source and available under the MIT License.