fscarmen / warp-sh

WARP script is move to: https://gitlab.com/fscarmen/warp
942 stars 203 forks source link

没有找到适合的方案用于修改 warp 配置文件 warp.conf #114

Open dreamtime11 opened 1 month ago

dreamtime11 commented 1 month ago

1.(安装你的这个脚本报错的vps)我的vps是vultr的Ubuntu 20.04,我的vps安装了3x-ui,之前用P3TERX的warp.sh安装sock5代理也报错,是不是因为warp更新了? 2.(另外的vps)我发现在最近我自己搭建节点时,我搭建好节点后,我自己手动给我的vps下载warp官方的客户端,发现在安装完warp后,注册的命令变了,设置socks5代理的命令也变了,之前使用FranzKafkaYu/x-ui的一键脚本,安装好warp,设置为sock5代理模式,之前使用改好的的Xray 配置模板都没问题,现在使用该配置节点会直接连接不上,改回默认配置节点恢复正常但是无法使用warp作为后置代理

root@vultr:~# wget -N https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh && bash menu.sh d --(时间戳已删除)-- https://gitlab.com/fscarmen/warp/-/raw/main/menu.sh Resolving gitlab.com (gitlab.com)... 172.65.251.78, 2606:4700:90:0:f22e:fbec:5bed:a9b9 Connecting to gitlab.com (gitlab.com)|172.65.251.78|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 169529 (166K) [text/plain] Saving to: ‘menu.sh’

menu.sh 100%[=================================================>] 165.56K --.-KB/s in 0.003s

Last-modified header missing -- time-stamps turned off. 时间戳已删除 (57.0 MB/s) - ‘menu.sh’ saved [169529/169529]

Language:

  1. English (default)
  2. 简体中文

    Choose: 2

    所有依赖已存在,不需要额外安装

    检查环境中……

    只能使用 wireguard-go with reserved 运行

    工作模式:

  3. 全局 (默认)
  4. 非全局

    请选择: 1 没有找到适合的方案用于修改 warp 配置文件 warp.conf,脚本中止。当你看到此信息,请把该 bug 反馈至:[https://github.com/fscarmen/warp-sh/issues]

fscarmen commented 1 month ago

运行 curl -sSL https://www.warpapi.us.kg/?run=register 看看有没有注册成功?

root@hax:~# curl -sSL https://www.warpapi.us.kg/?run=register
{
  "id": "3c896bd1-dd52-4c74-a8f3-9ecc8b7f61e3",
  "type": "a",
  "model": "PC",
  "name": "",
  "key": "QxNqlTAjFSZCbSz+dhlr6SYJp2DV9eyH77o9vOniWQs=",
  "private_key": "A4c3944TuWW4qHdYzl54kipukQ9BzhD2++v1RnlDSzQ=",
  "account": {
    "id": "5157eb66-3fa9-4ed7-b938-8466d826811b",
    "account_type": "free",
    "created": "2024-10-16T19:02:41.014675902Z",
    "updated": "2024-10-16T19:02:41.014675902Z",
    "premium_data": 0,
    "quota": 0,
    "usage": 0,
    "warp_plus": true,
    "referral_count": 0,
    "referral_renewal_countdown": 0,
    "role": "child",
    "license": "39sen06f-0P12HEd9-1LW45np0",
    "ttl": "2025-01-14T19:02:41.014673822Z"
  },
  "config": {
    "client_id": "cc80",
    "reserved": [
      113,
      207,
      52
    ],
    "peers": [
      {
        "public_key": "bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
        "endpoint": {
          "v4": "162.159.192.4:0",
          "v6": "[2606:4700:d0::a29f:c004]:0",
          "host": "engage.cloudflareclient.com:2408",
          "ports": [
            2408,
            500,
            1701,
            4500
          ]
        }
      }
    ],
    "interface": {
      "addresses": {
        "v4": "172.16.0.2",
        "v6": "2606:4700:110:8769:6614:ae90:de6f:fc69"
      }
    },
    "services": {
      "http_proxy": "172.16.0.1:2480"
    }
  },
  "token": "83fb5ab4-7954-4363-9dfc-15867e03d759",
  "warp_enabled": false,
  "waitlist_enabled": false,
  "created": "2024-10-16T19:02:40.642940164Z",
  "updated": "2024-10-16T19:02:40.642940164Z",
  "tos": "2024-10-16T19:02:40.54Z",
  "place": 0,
  "locale": "zh-CN",
  "enabled": true,
  "install_id": "i0an30xdogq7q6k048wun7",
  "fcm_token": "i0an30xdogq7q6k048wun7:APA91b9gqyr856dkr281c0zfs50rp9pjycf81irzsdlq3hin9db7w9lkg7k2thk1o71g3j5txsa8oltxc34nt4cijwu6nhsgt0o3exw7qtfmfhd446gma107hxywwoms0shwpxdcgzos",
  "serial_number": "i0an30xdogq7q6k048wun7",
  "policy": {
    "tunnel_protocol": "masque"
  }
}