roott
V2EX  ›  macOS

KCPTUN 的 mac 客户端

  •  
  •   roott · Oct 24, 2016 · 14981 views
    This topic created in 3664 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
    arfaWong
    Oct 24, 2016
    1
    命令行运行呗
    roott
    roott
    OP
    Oct 24, 2016
    3
    @arfaWong 不太会使用命令行。。
    roott
    roott
    OP
    Oct 24, 2016
    4
    @langmoe 软件放到 kcp 的两个文件的同一文件夹里运行 填入参数后显示 bind: permission denied 是不是要设个权限什么的
    langmoe
    langmoe
    Oct 24, 2016
    5
    @roott 本地端口用大点的试试
    luq885
    luq885
    Oct 25, 2016 via Android
    6
    win 上客户端生成好了参数,直接拿过来用就行了
    windirt
    windirt
    Oct 25, 2016
    8
    我直接写了 plist 扔 launchagent ,自动保活
    roott
    roott
    OP
    Oct 25, 2016
    9
    @windirt 求 plist....
    windirt
    windirt
    Oct 25, 2016❤️1
    10
    文件名 "自定义 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   ·   Privacy   ·   Solana   ·   1412 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 19:06 · PVG 03:06 · LAX 11:06 · JFK 14:06
    ♥ Do have faith in what you're doing.