simple-socks-bin
v1.0.1
Published
A simple NPM module for running a Socks5 server leverage [simple-socks](https://www.npmjs.com/package/simple-socks)
Downloads
2
Readme
simple-socks-bin
A simple NPM module for running a Socks5 server leverage simple-socks
# runs socks5 server on socks5://0.0.0.0:1080
simple-socks
# runs socks5 server on socks5://0.0.0.0:10080
simple-socks --port 10080
# runs socks5 server on socks5://foo:[email protected]:10080
simple-socks -p 10080 -u foo -p bar
# same as
simple-socks --port 10080 --username foo --password bar
Usage
npm install -g simple-socks-bin
- Run a SOCKS5 proxy
simple-socks --port=1080 --username=foo --password=bar
- Use the proxy e.g.
ALL_PROXY=socks5://foo:bar@localhost curl ifconfig.me