xingshu
V2EX  ›  macOS

proxychains 无效?

  •  
  •   xingshu · Oct 30, 2015 · 15819 views
    This topic created in 3849 days ago, the information mentioned may be changed or developed.
    各位好:
    请教个问题,我想要在 iTerm 中使用 Youtube-dl ,用 proxychains-ng ,在配置文件底部配置了 127.0.0.1 1080 , ss 的代理

    但是在 iTerm 中还是无效果。。

    ➜ ~ proxychains4 curl twitter.com
    [proxychains] config file found: /usr/local/Cellar/proxychains-ng/4.10/etc/proxychains.conf
    [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.10/lib/libproxychains4.dylib
    ^C
    ➜ ~ proxychains4 curl baidu.com
    [proxychains] config file found: /usr/local/Cellar/proxychains-ng/4.10/etc/proxychains.conf
    [proxychains] preloading /usr/local/Cellar/proxychains-ng/4.10/lib/libproxychains4.dylib
    <html>
    <meta http-equiv="refresh" content="0;url=http://www.baidu.com/">
    </html>

    请问哪里还有设置不对的地方么?
    17 replies    2015-11-04 12:24:49 +08:00
    expkzb
        1
    expkzb  
       Oct 30, 2015
    最新系统中已经不好使了
    xingshu
        2
    xingshu  
    OP
       Oct 30, 2015
    @expkzb 那是不能用咯?
    Valyrian
        3
    Valyrian  
       Oct 30, 2015
    天天在用,没什么问题
    xingshu
        4
    xingshu  
    OP
       Oct 30, 2015
    @Valyrian 能说下要怎么排查么?
    expkzb
        5
    expkzb  
       Oct 30, 2015   ❤️ 1
    @xingshu

    Disabling SIP
    Run `csrutil disable` in Recovery mode
    emlcj
        6
    emlcj  
       Oct 30, 2015
    FrankFang128
        7
    FrankFang128  
       Oct 30, 2015 via Android
    怪不得
    xingshu
        8
    xingshu  
    OP
       Oct 30, 2015
    proxychains4 youtube-dl ‘

    zsh: no matches found: ‘


    新问题,下午继续吧。
    tkisme
        9
    tkisme  
       Oct 30, 2015
    proxychains4 bash
    curl Google.com
    rungo
        10
    rungo  
       Oct 30, 2015
    我这边用起来没问题
    finian
        11
    finian  
       Oct 30, 2015
    10.11 要关闭 SIP
    kokutou
        12
    kokutou  
       Oct 30, 2015
    关闭 sip 后用 proxifier 爽爽哒。
    xream
        13
    xream  
       Oct 30, 2015
    @tkisme2013 我咋没想到 赞赞赞
    smoothdvd
        14
    smoothdvd  
       Oct 30, 2015
    youtube-dl 自已带 proxy 命令行参数的。
    billgreen1
        15
    billgreen1  
       Oct 31, 2015 via iPhone
    你可以查查是现在用的配置文件,是否是你配置的。我之前遇到过这样的问题。结果发现,我原来用的 4.9 的配置文件,升级后,它用 4.10 的配置文件了。解决方法是吧配置文件放在 home 目录的.proxychains 目录下。
    wd
        16
    wd  
       Nov 4, 2015   ❤️ 1
    不想开 SIP ,况且还得重启。。琢磨了会搞定了。。
    用 pyenv 装了一个 python ,然后用这个版本的 python

    proxychains4 ~/.pyenv/versions/2.7.9/bin/python /usr/local/Cellar/youtube-dl/2015.10.24/bin/youtube-dl URL
    wd
        17
    wd  
       Nov 4, 2015
    @wd 不好意思写错了,不想关 SIP ..
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3429 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 61ms · UTC 11:38 · PVG 19:38 · LAX 04:38 · JFK 07:38
    ♥ Do have faith in what you're doing.