Using Shadowsocks with Command Line Tools
clowwindy edited this page Mar 4, 2015
·
6 revisions
Pages 33
- Home
- Ban Brute Force Crackers
- Block Connection to localhost
- Change Server on the Fly
- Configuration via Config File
- Configure Multiple Users
- Configure Shadowsocks with Supervisor
- Connect to OpenVPN over Shadowsocks
- Convert Shadowsocks into an HTTP proxy
- Encryption
- Feature Comparison across Different Versions
- Forcing Chrome to Use Socks5 Proxy
- Generate QR Code for Android or iOS Clients
- Gentoo overlay
- Graceful shutdown and restart
- Install Shadowsocks Server on Windows
- Manage Multiple Users
- Objective
- Optimizing Shadowsocks
- Ports and Clients
- Salsa20
- Securing Public Shadowsocks Server
- Setting Up Shadowsocks on Linode
- Setup a Shadowsocks relay
- Shadowsocks 使用说明
- TCP Fast Open
- Troubleshooting
- Using Shadowsocks with Command Line Tools
- Workers
- 优化 Shadowsocks
- 回复模版
- 在 Linode 上快速搭建 Shadowsocks
- 用 Supervisor 运行 Shadowsocks
- Show 18 more pages…
Clone this wiki locally
First, set up shadowsocks as usual. Suppose your local is running on 127.0.0.1:1080.
Install proxychains.
On Debian/Ubuntu:
apt-get install proxychains
On Mac OS X:
brew install proxychains-ng
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
quiet_mode
[ProxyList]
socks5 127.0.0.1 1080
Then run command with proxychains. Examples:
proxychains4 curl https://www.twitter.com/
proxychains4 git push origin master
Or just proxify bash:
proxychains4 bash
curl https://www.twitter.com/
git push origin master