I want to use Shadowsocks with Command Line Tools and I found a tutorial. However it does not work for me. But I can open Twitter on Chrome using SwitchyOmega.
~/.proxychains/proxychains.conf file look like this:
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
For exmpale, I curl Twitter like this.
proxychains4 curl https://www.twitter.com/ [proxychains] config file found: /Users/myname/.proxychains/proxychains.conf [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.12_1/lib/libproxychains4.dylib curl: (7) Failed to connect to www.twitter.com port 443: Operation timed out
PS: I'm from China and I have to use ShadowSocks since I can not visit Twitter website directly.