apt-get install python-pip
pip install shadowsocks
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start- Install Shadowsocks Client, e.g. run
brew cask install shadowsocksxin Mac OSX. - SwitchSharp
Only config
SOCKS Hostto127.0.0.1:1080and selectSOCKS v5
# `-N`: do not execute commands
# `-D`: bind 1080 port and forward 1080 port to 22 port
# `-i`: use pre-shared key `hello.pem`
# `-p`: specify port used to connect to remote server
ssh -ND 1080 -i ~/.ssh/hello.pem <username>@<your-remote-server-ip> -p 22- Install
proxychains-ngby runningbrew install proxychains-ng. - Config
/usr/local/Cellar/proxychains-ng/4.7/etc/proxychains.conf, modify the following parameters.
[ProxyList]
socks5 127.0.0.1 1080
- Add
proxychains4to the front of every command, e.g.proxychains4 curl ipecho.net/plain
- how to set socks5 proxy in the terminal by askubuntu
- OS X Terminal Ignoring SOCKS Proxy Setup
- Git proxy through SOCKS 5
git config --globalis stored in~/.gitconfigwhile local config settings is in./.git/config.
curl --socks5-hostname 127.0.0.1:1080 http://wtfismyip.com/json