Table of Contents
Use proxychains with shadowsocks
Install
$ sudo apt-get install proxychains
Configuration
Make a config file at ~/.proxychains/proxychains.conf with content:
strict_chain proxy_dns remote_dns_subnet 224 tcp_read_time_out 15000 tcp_connect_time_out 8000 localnet 127.0.0.0/255.0.0.0 [ProxyList] socks5 127.0.0.1 1080
Usage
First, you should make sure that shadowsocks is running, then use proxy like:
$ proxychians4 COMMAND
examples:
$ proxychains4 curl https://www.twitter.com/ $ proxychains4 git push origin master
Use http proxy with SSX-NG-R
$ export ALL_PROXY=http://127.0.0.1:1087 $ unset ALL_PROXY