Proxies

作者: 寂寞的原子 | 来源:发表于2015-08-26 10:01 被阅读19次

Using SOCKS5 127.0.0.1:1080.

CURL / Homebrew

$ echo 'socks5 = "127.0.0.1:1080"' >> ~/.curlrc

SSH / Git

$ echo '#!/bin/bash\nnc -x127.0.0.1:1080 -X5 $*' > ~/.proxy-wrapper
$ echo 'Host github.com\n\tHostname github.com\n\tUser git\n\tProxyCommand $HOME/proxy-wrapper \'%h %p\'' >> ~/.ssh/config

相关文章

网友评论

      本文标题:Proxies

      本文链接:https://www.haomeiwen.com/subject/bmdhcttx.html