https://github.com/znck/setproxy
Proxy settings with no pain
https://github.com/znck/setproxy
linux proxy script setproxy
Last synced: 9 months ago
JSON representation
Proxy settings with no pain
- Host: GitHub
- URL: https://github.com/znck/setproxy
- Owner: znck
- License: mit
- Created: 2015-08-26T23:22:36.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-18T18:10:06.000Z (about 9 years ago)
- Last Synced: 2025-04-14T21:53:15.287Z (9 months ago)
- Topics: linux, proxy, script, setproxy
- Language: Python
- Size: 70.3 KB
- Stars: 11
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# SetProxy
Painless proxy configuration.

## Installation
Run this in your terminal to get the latest SetProxy version:
```bash
# Using curl.
curl -sS https://raw.githubusercontent.com/znck/setproxy/v0.0.1/install.sh | sudo -E bash
# Using wget.
wget -O - -o /dev/null https://raw.githubusercontent.com/znck/setproxy/v0.0.1/install.sh | sudo -E bash
```
## Usage
SetProxy command line interface.
```
$ setproxy -h
usage: setproxy [-h] [-u USER] [-p PASSWORD] [--http] [--https] [--ftp]
[--socks] [--no-http] [--no-https] [--no-ftp] [--no-socks]
[--clear] [-t] [-d]
server [port]
Easy proxy configuration
positional arguments:
server Proxy server address. ex: 202.141.80.19 or
tamdil.iitg.ernet.in
port Proxy port. commonly used ports are 3128, 8080 and
1080.
optional arguments:
-h, --help show this help message and exit
-u USER, --user USER Username for proxy authentication.
-p PASSWORD, --password PASSWORD
Password for proxy authentication.
--http Enable http proxy setting (Default: Enabled)
--https Enable https proxy setting (Default: Enabled)
--ftp Enable ftp proxy setting
--socks Enable socks proxy setting
--no-http Disable http proxy setting
--no-https Disable https proxy setting
--no-ftp Disable ftp proxy setting (Default: Disabled)
--no-socks Disable socks proxy setting (Default: Disabled)
--clear Delete old proxy settings, while creating new.
-t, --test Display old proxy settings
-d, --delete Delete old proxy settings
```
> TODO: Update usage docs.
## Change log
Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.
## Testing
> Accepting PR :p
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.
## Security
If you discover any security related issues, please email :author_email instead of using the issue tracker.
## Credits
- [Rahul Kadyan][link-author]
- [All Contributors][link-contributors]
## License
The MIT License (MIT). Please see [License File](LICENSE) for more information.
[link-author]: http://znck.me
[link-contributors]: ../../contributors