Using Shadowsocks with Command Line Tools

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












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:



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.







share|improve this question






















  • 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?
    – CoXier
    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.
    – CoXier
    Dec 26 '17 at 2:37














up vote
1
down vote

favorite












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:



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.







share|improve this question






















  • 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?
    – CoXier
    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.
    – CoXier
    Dec 26 '17 at 2:37












up vote
1
down vote

favorite









up vote
1
down vote

favorite











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:



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.







share|improve this question














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:



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.









share|improve this question













share|improve this question




share|improve this question








edited Dec 25 '17 at 15:18

























asked Dec 25 '17 at 14:01









CoXier

1086




1086











  • 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?
    – CoXier
    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.
    – CoXier
    Dec 26 '17 at 2:37
















  • 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?
    – CoXier
    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.
    – CoXier
    Dec 26 '17 at 2:37















What does your proxychains.conf look like? Are you running the ShadowSocks service on port 1080?
– multithr3at3d
Dec 25 '17 at 14:54





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?
– CoXier
Dec 25 '17 at 15:19




@multithr3at3d I update my question. How can I know the ShadowSocks service runs on which port?
– CoXier
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




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.
– CoXier
Dec 26 '17 at 2:37




Yes sure, if not I can not visit Twitter on Chrome.
– CoXier
Dec 26 '17 at 2:37















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412962%2fusing-shadowsocks-with-command-line-tools%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f412962%2fusing-shadowsocks-with-command-line-tools%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)