Project (by zoninoz):
ZigzagProxy (zproxy) is a CLI bash script, with which you can connect programs from bash using proxy (transparent, anonymous or elite/highly-anonymous, selected according to the type required by the user).
Zproxy extracts proxies from http://ip-adress.com/proxy_list/, analyzes them and checks whether they work, selecting those that allow a download speed higher than a default value
- Download the installation script from:
- Give users the right to execute the script:
chmod a+x install_zproxy.sh
- Start the automatic installation:
Usage (the order of the arguments is not important):
[source |.] zproxy [options] [commands | programs]
You can activate/deactivate a proxy for all programs/commands started from the same terminal: 'source' (abbreviated with a dot, must always be inserted BEFORE the command) 'globalizes' the variable 'http_proxy', making it active for all commands/programs started from the terminal after ZigzagProxy.
-h --help ZigzagProxy Manual
--ip Current IP address
-u --update Update ZigzagProxy
-d --disable Disable the proxy
-t --transparent Select the type of automatic
-a --anonymous proxy to activate:
-e --elite Transparent, Anonymous, Elite
-p PROXY, -pPROXY [-p|--proxy=] allows to activate
--proxy=PROXY a PROXY chosen by the user
-r --reconnect Forces the modem to be reconnected (works only for some models)
Commands or programs:
The program or commands to be started with active proxy. In the presence of arguments or, in any case, of spaces, it is necessary to enclose the command between quotes or single quotes.
- testing proxy activation:
zproxy -t "wget -qO- http://indirizzo-ip.com/ip.php"
- activate proxy for Chromium (Transparent or Anonymous):
zproxy -t -a chromium
zproxy -ta chromium
- testing with Chromium:
zproxy -t "chromium http://indirizzo-ip.com/ip.php"
- activate a proxy Transparent, Anonymous or Elite for all commands, scripts and programs started from the same terminal, after zproxy:
source zproxy -tae
- disable proxy and update zproxy:
- activate proxy "22.214.171.124:8080" for the terminal:
. zproxy -p "126.96.36.199:8080"
. zproxy -p"188.8.131.52:8080"
source zproxy --proxy="184.108.40.206:8080"
ZigzagProxy can also activate a proxy for Chrome/Chromium and Firefox/Conkeror.
Gianluca Zoni , 2012
GNU/GPL v.3 or later: http://www.gnu.org/licenses/