roott
V2EX  ›  macOS

KCPTUN 的 mac 客户端

  •  
  •   roott · Oct 24, 2016 · 14631 views
    This topic created in 3500 days ago, the information mentioned may be changed or developed.
    看了 github 上官方的说明不太会在 macd 端配置启动,貌似也不像 win 端有特别的客户端,有老司机说一下 mac 端怎么弄么
    10 replies    2016-10-25 22:15:44 +08:00
    arfaWong
        1
    arfaWong  
       Oct 24, 2016
    命令行运行呗
    roott
        3
    roott  
    OP
       Oct 24, 2016
    @arfaWong 不太会使用命令行。。
    roott
        4
    roott  
    OP
       Oct 24, 2016
    @langmoe 软件放到 kcp 的两个文件的同一文件夹里运行 填入参数后显示 bind: permission denied 是不是要设个权限什么的
    langmoe
        5
    langmoe  
       Oct 24, 2016
    @roott 本地端口用大点的试试
    luq885
        6
    luq885  
       Oct 25, 2016 via Android
    win 上客户端生成好了参数,直接拿过来用就行了
    titanium98118
        7
    titanium98118  
       Oct 25, 2016   ❤️ 1
    windirt
        8
    windirt  
       Oct 25, 2016
    我直接写了 plist 扔 launchagent ,自动保活
    roott
        9
    roott  
    OP
       Oct 25, 2016
    @windirt 求 plist....
    windirt
        10
    windirt  
       Oct 25, 2016   ❤️ 1
    文件名 "自定义 domain.kcptun.plist "

    放在 ~/Library/LaunchAgent

    假设 kcptun darwin 64 client 放在 home 根目录, config.json 也在同一个目录,请按照自己的情况酌情处理

    文件内容
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>KeepAlive</key>
    <true/>
    <key>RunAtLoad</key>
    <true/>
    <key>Label</key>
    <string>自定义 domain.kcptun</string>
    <key>ProgramArguments</key>
    <array>
    <string>/Users/用户名 /client_darwin_amd64</string>
    <string>-c</string>
    <string>/Users/用户名 /config.json</string>
    </array>
    <key>WorkingDirectory</key>
    <string>/Users/用户名 /</string>
    </dict>
    </plist>

    @roott
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   935 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 115ms · UTC 19:58 · PVG 03:58 · LAX 12:58 · JFK 15:58
    ♥ Do have faith in what you're doing.