viaproxy

Run any shell command in a temporary proxy environment.


Install

Get the right binary file from releases page, place viaproxy into system PATH (e.g. /usr/local/bin).

Usage

$ viaproxy socks5://127.0.0.1:1080 run curl -L https://www.google.com
$ viaproxy http://192.168.1.9:8888 run psql ...

$ viaproxy socks5://127.0.0.1:1080 run bash
# Got into a new shell
$ curl -L https://www.google.com

Planning:

$ viaproxy ssh://192.168.10.100:22 run curl -L https://www.google.com

Build & Install

$ git submodule init
$ git submodule update
$ make -C graftcp
$ go build
# make -C graftcp clean
$ cp viaproxy /usr/local/bin/

Why Not Use Proxychains/Proxychians-ng

See https://github.com/rofl0r/proxychains-ng/issues/199

GitHub

View Github