xingshu
V2EX  ›  macOS

proxychains 无效?

  •  
  •   xingshu · Oct 30, 2015 · 16198 views
    This topic created in 4021 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
    expkzb
    Oct 30, 2015
    1
    最新系统中已经不好使了
    xingshu
    xingshu
    OP
    Oct 30, 2015
    2
    @expkzb 那是不能用咯?
    Valyrian
    Valyrian
    Oct 30, 2015
    3
    天天在用,没什么问题
    xingshu
    xingshu
    OP
    Oct 30, 2015
    4
    @Valyrian 能说下要怎么排查么?
    expkzb
    expkzb
    Oct 30, 2015❤️1
    5
    @xingshu

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

    新问题,下午继续吧。
    tkisme
    tkisme
    Oct 30, 2015
    9
    proxychains4 bash
    curl Google.com
    rungo
    rungo
    Oct 30, 2015
    10
    我这边用起来没问题
    finian
    finian
    Oct 30, 2015
    11
    10.11 要关闭 SIP
    kokutou
    kokutou
    Oct 30, 2015
    12
    关闭 sip 后用 proxifier 爽爽哒。
    xream
    xream
    Oct 30, 2015
    13
    @tkisme2013 我咋没想到 赞赞赞
    smoothdvd
    smoothdvd
    Oct 30, 2015
    14
    youtube-dl 自已带 proxy 命令行参数的。
    billgreen1
    billgreen1
    Oct 31, 2015 via iPhone
    15
    你可以查查是现在用的配置文件,是否是你配置的。我之前遇到过这样的问题。结果发现,我原来用的 4.9 的配置文件,升级后,它用 4.10 的配置文件了。解决方法是吧配置文件放在 home 目录的.proxychains 目录下。
    wd
    wd
    Nov 4, 2015❤️1
    16
    不想开 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
    wd
    Nov 4, 2015
    17
    @wd 不好意思写错了,不想关 SIP ..
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1248 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 21:45 · PVG 05:45 · LAX 13:45 · JFK 16:45
    ♥ Do have faith in what you're doing.