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.

My ~/.proxychains/proxychains.conf file look like this:

remote_dns_subnet 224
tcp_read_time_out 15000
tcp_connect_time_out 8000

socks5 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.

  • What does your proxychains.conf look like? Are you running the ShadowSocks service on port 1080? – multithr3at3d Dec 25 '17 at 14:54
  • @multithr3at3d I update my question. How can I know the ShadowSocks service runs on which port? – Jianxin Li Dec 25 '17 at 15:19
  • It would be in the documentation for that application, although that looks like the port it runs on by default. I'm mainly asking if you are running it at all. – multithr3at3d Dec 25 '17 at 17:24
  • Yes sure, if not I can not visit Twitter on Chrome. – Jianxin Li Dec 26 '17 at 2:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.